Solved

Can I auto populate SharePoint Foundation 2013 forms from active directory details?

Posted on 2013-10-23
3
783 Views
Last Modified: 2013-11-01
Hi,

Using SharePoint Foundation 2013, can I auto-populate out of the box forms/lists using the authenticated users active directory details?

Thanks.
0
Comment
Question by:aspnet-scotland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 39596493
Not completely out of the box no.

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.
0
 
LVL 32

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 39600523
I recommend you avoid custom timer jobs. They can cause problems in your farm and may not even be supported in future versions of the product.

http://www.the-north.com/sharepoint/post/Dont-write-SharePoint-Timer-jobs-(etc)-without-good-reason
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question