本文介绍了是否有方法可以在共享点托管应用程序内的工作流中锁定sharepoint列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone !!

Hello Everyone !!

我在共享点托管应用程序中设计了visual studio批准工作流程。我希望没有人可以在批准运行时编辑/删除记录。

I have designed the visual studio approval workflow in share-point hosted app. I want no one can edit/delete the records when the approval is running.

一旦记录获得批准,它应该是只读的。我们如何做到这一点。 

once the records get approved it should be readonly. How we can do this. 

推荐答案

请尝试在Workflow中使用REST API设置列表项权限。使用HttpSend操作发送请求。

Please try to set list item permissions using REST API in Workflow. Use the HttpSend action to send request.

请查看下面的博客 了解这些方法:

Please check blog below about these methods:


  • BreakRoleInheritance
  • AddRoleAssignment

SharePoint 2013 REST API - 如何设置唯一权限(项级别权限)

http://spsite.pro/Blog/Post/3/SharePoint-2013-REST-API-%E2%80%93-How-to-set-Unique-Permissions-%28Item-Level -Permissions%29

更多信息:

从SharePoint 2013 Visual Studio工作流调用WCF Web服务

http://sharepoint.stackexchange.com/questions/114612/calling-a-wcf-web-service-from-a-sharepoint-2013-visual-studio-workflow

最诚挚的问候,

Dennis


这篇关于是否有方法可以在共享点托管应用程序内的工作流中锁定sharepoint列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 09:00