使用其他列表中的名称预填充人员选取器 [英] Pre-populate a People Picker with names from another list

查看:65
本文介绍了使用其他列表中的名称预填充人员选取器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个人选择器,我被问到是否有办法让预先填充的人员来自SharePoint列表?



提供名称的列表具有捕获人员和组列的名称,因此基本上是另一个人员选择器(使用显示名称),但我需要根据InfoPath表单中的其他信息预先填充这些名称。它只有1个名字 不是
的名字下拉



所以,基本上我的问题是,有没有办法让一个人预先填充他或她的名字(Displayname:LN.FN)从另一个名单到信息路径表格中的人员选择器。

解决方案

您好cowboy2066,


您是否想要在InfoPath表单中获取人员选择器中的用户管理员?


如果是这样,并且如果您已在Active Directory中设置用户的管理员,则可以通过InfoPath表单中的用户配置文件服务获取用户的管理员。


http ://< Your Web App> / _ vti_bin / UserProfileService.asmx


有关更多详细信息,请参阅以下文章。


自动填充InfoPath中的用户信息以及SharePoint中基于声明的身份验证 - 第1部分,共3部分


https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part- 1-of-3 /


在SharePoint中自动填充基于声明的身份验证的InfoPath中的用户信息 - 第2部分  3


https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in -infopath-with-claim-based-authentication-part-of-of-3 /


使用SharePoint中的基于声明的身份验证自动填充InfoPath中的用户信息 - 第3部分  3


https://spvee.wordpress.com/2013/04/10/自动填充用户信息功能于InfoPath中,与索赔-based-authentication-part-3-of-3 /


否则,我建议您在人员选择器中选择用户时可以创建两级级联Drop Down然后在另一列中预先填充用户的经理。


有关更多详细信息,请参阅以下文章。


两级级联使用SPServices在SharePoint 2013中下拉。


https://www.codeproject.com/Tips/758909/Two-Level-Cascading-Drop-Down-in-SharePoint-使用
 


使用SharePoint 2013和Office 365的跨站点查找级联下拉列表。


https://www.codeproject.com/Articles/619373/Cascading-drop-downs-with-Cross -site-Lookup-for-Sh
 


祝你好运,


Sara Fan


I have a people picker that I have been asked if there is a way to have person from a SharePoint List pre-populate in ?

the list that will supply the name has the names captured a People and Group column, so basically another People picker(displayname is used), but I need those names to be pre-populated based on other info in the InfoPath form. it is only 1 name  not a dropdown of names

So, basically my question is , Is there a way to have a person pre- populate with his or her name(Displayname: LN. FN)from another list into a people picker in an info path form.

解决方案

Hi cowboy2066,

Did you want to the get the manager of the user in the people picker in the InfoPath form?

If so, and if you have set the manager of the user in the Active Directory, you could get the manager of the user by the user profile service below in the InfoPath form.

http://<Your Web App>/_vti_bin/UserProfileService.asmx

For more detailed information, refer to the articles below.

Auto Populate User Information in InfoPath with Claims Based Authentication in SharePoint – Part 1 of 3

https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-1-of-3/

Auto Populate User Information in InfoPath with Claims Based Authentication in SharePoint – Part 2 of 3

https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-2-of-3/

Auto Populate User Information in InfoPath with Claims Based Authentication in SharePoint – Part 3 of 3

https://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-3-of-3/

Otherwise, I suggest you could create the two-level cascading Drop Down when selecting the user in the people picker and then pre- populate the manager of the user in another column.

For more detailed information, refer to the articles below.

Two Level Cascading Drop Down in SharePoint 2013 using SPServices.

https://www.codeproject.com/Tips/758909/Two-Level-Cascading-Drop-Down-in-SharePoint-using  

Cascading drop-downs with Cross-site Lookup for SharePoint 2013 and Office 365.

https://www.codeproject.com/Articles/619373/Cascading-drop-downs-with-Cross-site-Lookup-for-Sh  

Best regards,

Sara Fan


这篇关于使用其他列表中的名称预填充人员选取器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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