0

我想创建一个休假表单列表,其中有一些字段,如姓名、电子邮件 ID,需要从用户信息列表中填充。

用于在 SharePoint 中创建用户的用户信息列表。当我们在用户信息列表中拥有所有信息时,我需要将它的一些字段值显示到离开列表中的相应字段。

我的意思是说正在填写新表格的用户应该从用户信息列表中提取其信息并将其填写到休假表格中。

我不知道我将如何实现这一目标。请帮忙。

4

1 回答 1

0

To get the current user details like name and Email address then you will require to query the Active directory.

To fetch the data from the Active directory follow this code .

https://sharepoint.stackexchange.com/questions/62929/get-current-users-department-name-and-manager-from-active-directory

If you have developed a custom new form then you can write a code there and fetch and filldata in the appropriate firle

于 2013-10-29T12:22:30.410 回答