在表单保存上,工作流状态在AllItem页面加载之前完成 [英] On form save, workflow status completed before AllItem page loads

查看:103
本文介绍了在表单保存上,工作流状态在AllItem页面加载之前完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在AllItems视图中有一个sharepoint 2010工作流更新列字段。我想在完成保存按钮之后和AllItems页面加载之前完成工作流程。有没有办法用工作流动作或javascript做到这一点?

Hi, I have a sharepoint 2010 workflow updating column fields in my AllItems view. I want the workflow to complete after I hit the save button and before the AllItems page loads. Is there a way to do this either with a workflow action or javascript?

推荐答案

数据未在视图中更新,数据在列表中更新本身。视图只是根据您在视图设计中制定的规范呈现数据。这被称为数据层与表示层的分离。

Data is not updated in a view, the data is updated in the list itself. The view simply renders the data via the specifications you make in the design of the view. This is known as the separation of the data layer from the presentation layer.

您可以使用javascript创建一个自定义aspx页面,该页面有一个触发保存的按钮,然后您可以将用户重定向到您喜欢的页面,包括一个名为"allitems.aspx"的页面。列表。

You can create a custom aspx page, with javascript, that has a button that will trigger a save, and then you can redirect the user to what ever page you like, include one that is the "allitems.aspx" of the list.


这篇关于在表单保存上,工作流状态在AllItem页面加载之前完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆