?
Solved

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

Posted on 2013-10-23
3
Medium Priority
?
795 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 2000 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

765 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