为SharePoint列表中的项目创建一个链接,以打开批准表单 [英] Create a link for an item in SharePoint list that opens the approval form

查看:121
本文介绍了为SharePoint列表中的项目创建一个链接,以打开批准表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我的最终用户有一个请求,他们希望通过单击直接从列表中打开批准工作流的任务表,并且不希望电子邮件或对包含批准表单链接的电子邮件通知不感兴趣.他们唯一要打开的是 是批准还是拒绝列表页面本身中的任务表?

My end users have a request that they want to open the task form for an approval workflow directly from the list with a click and doesn't want emails or not interested in email notification that has the link for approval form. All they ant is to open and either approve or reject the task form from list page itself?

有没有办法做到这一点?您能帮助实现这一目标的过程吗?

Is there any way to do that? Can you help to with the process to make that possible.

预先感谢

推荐答案

我们可以在自定义列表中创建一个超链接字段,并使用工作流为该字段设置URL.

We can create a Hyperlink field in the custom list and use workflow to set the URL for this field.

1.在您的自定义列表中创建一个超链接字段.稍后将通过工作流中的批准任务行为以及批准任务表单的URL来填充此信息.

1. Create a Hyperlink field in your custom list. This will be populated later by the approval task behavior inside the workflow with the URL of the approval task form.

2.创建一个名为状态"的选择字段.控制和跟踪批准.有效选择应为新",待批准",已批准"和已拒绝".

2. Create a Choice field called "Status" to control and track the approval. The valid choices should be "New", "Pending Approval", "Approved", and "Rejected".

3.创建与列表相关联的工作流程,该列表从创建或更改项目时开始.

3. Create a workflow associated with the list which starts when an item is created or changed.

4.在批准任务内部,行为填充批准链接"(Approval Link).的领域 当前任务的Form_URN .

4. Inside the approval task behaviors populate the "Approval Link" field with the Form_URN of the current task.

5.您还将需要修改任务行为,以将项目状态"设置为状态".字段为已批准"或已拒绝".

5. You will also want to modify the task behavior to set the item "Status" field to "Approved" or "Rejected".

6.自定义显示表单.

6. Customize the display form.

更多信息在这里:

https://www.credera. com/blog/technology-insights/microsoft-solutions/sharepoint-workflow-simplified-one-click-approvals/

这里有一个类似的线程供您参考:

Here is a similar thread for your reference:

https://social.msdn.microsoft.com/Forums/office/en-US/7e85ef43-bde3-43e0-abbe-298ff87a5f49/add-link-to-open-this-task-in-email-for-approval-workflow?forum=sharepointcustomizationprevious

最好的问候,

丹尼斯

这篇关于为SharePoint列表中的项目创建一个链接,以打开批准表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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