使用SPD将多个用户从Infopath添加到项目级权限 [英] Add multiple users to item-level permission from Infopath using SPD

查看:66
本文介绍了使用SPD将多个用户从Infopath添加到项目级权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SPO

我的信息路径中有一个多人选择器字段.

我设法将这些用户提升为表单库中的多人选择器列.

现在,我想使用SPD工作流将这些用户添加到表单的项目级别权限.

我能够搜索并跟踪在互联网上找到的所有内容,但是失败了.

似乎什么都不起作用.

我尝试创建变量,将多人选择器字段return的值分配为string =不起作用

直接使用多人选择器"列并将其添加到项目级权限-不起作用

试图返回字段,因为显示=不起作用

返回字段为电子邮件=不起作用

返回字段作为登录名=无效

返回字段ID =不起作用

一切都不起作用,这就是为什么你们可以帮助我,也许您可​​以尝试复制我的表单并尝试创建工作流并进行检查.


解决方案

我尝试重现您的问题,但失败了.权限已成功添加.

我在SharePoint UI中创建了具有多个选择的人员选择器,并创建了具有多个选择的人员选择器在InfoPath中查看是否有任何不同的结果.

这是我的测试步骤:

1.从SharePoint UI创建人员选择器(称为"people1"),并从InfoPath创建人员选择器(称为"people2").两者都可以选择.

我发现在创建商品时,InfoPath多人选择器无法正常工作.只是拿了最后一个人. (根据我的研究,InfoPath可以选择人员选择器 不起作用是一个已知问题.)

2.创建SharePoint设计器工作流并使用添加列表项权限".

将返回字段设置为"到登录名"或登录名,用分号分隔"取决于是否允许多项选择功能.


3.发布工作流程并在一个项目上运行它.根据我的测试结果,添加了两个人选择器的值权限.

对于您的问题,请检查工作流程是否已成功运行,并检查是否有任何错误消息在工作流程状态"页面上.

最好的问候,

Linda Zhang


I am using SPO

I have a multi-people picker field in my infopath.

I managed to promote these users to a multi-people picker column in my form library.

Now I want to add these users to the item-level permission of the form using SPD workflow.

I was able to search and follow everything I find on the internet, but I fail.

Nothing seems to work. 

I tried creating variables, assign the value of my multi-people picker field return as string = not working

directly use the multi-people picker column and add it to item-level permission - not working

tried to return field as display = not working

return field as email = not working

return field as login = not working

return field as id = not working

everything doesn't work that's why you guys might be able to help me, maybe you can try to replicate my form and try creating a workflow and check, please.


解决方案

Hi,

I tried to reproduce your issue but it failed. The permission was added successfully.

I created a people picker with multiple selections in SharePoint UI, and created a people picker with multiple selections in InfoPath to see if there were any different results.

Here are my testing steps:

1. Created a people picker (called "people1") from SharePoint UI and created a people picker (called "people2") from InfoPath. Both were allowed to have multiple selections.

I found that when creating an item, the InfoPath multi-people picker did not work. It was only taking the last person. (Per my research, the InfoPath multiple selections of people picker does not work is a known issue.)

2. Created a SharePoint designer workflow and used "Add List Item Permissions".

Set "Return field as" to either "Login Name" or "Login Names, Semicolon Delimited" depending on whether multiple selections function is allowed.


3. Published the workflow and run it on an item. Based on my testing results, the permissions for values of two people picker were added.

For your issue, please check whether the workflow has run successfully and check if there are any error message on the Workflow Status page.

Best Regards,

Linda Zhang


这篇关于使用SPD将多个用户从Infopath添加到项目级权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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