Solved

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

Posted on 2013-10-23
3
728 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
  • 2
3 Comments
 
LVL 31

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
 

Author Comment

by:aspnet-scotland
ID: 39599964
0
 
LVL 31

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now