aspnet-scotland
asked on
Can I auto populate SharePoint Foundation 2013 forms from active directory details?
Hi,
Using SharePoint Foundation 2013, can I auto-populate out of the box forms/lists using the authenticated users active directory details?
Thanks.
Using SharePoint Foundation 2013, can I auto-populate out of the box forms/lists using the authenticated users active directory details?
Thanks.
ASKER
What do you think of the below:
http://ranaictiu-technicalblog.blogspot.in/2010/12/sharepoint-2010-linking-sharepoint-user.html
Thanks.
http://ranaictiu-technicalblog.blogspot.in/2010/12/sharepoint-2010-linking-sharepoint-user.html
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you were using Enterprise (bear with me here) you might use InfoPath and call the SharePoint web services to insert user details into the form fields. (An example here; http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?ID=178)
As you're using Foundation you cant do that. So I think you'd have to do it through javascript/jquery. (Not really an end user solution).
There is a free javascript library called SP Services (http://spservices.codeplex.com/) which makes it easy to call SharePoint Web Services from code. You could insert script in your forms to call the same web services in the InfoPath article above and get the same effect.
In SharePoint Designer you also have the ability to call out to web services, but that's in Workflows. I dont believe you'll have any way to apply such actions to your forms, so alas I think you're needing SP Services and javascript.