Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Populate and infopath fields with AD

  Asked By: Dora    Date: Feb 04    Category: Sharepoint    Views: 2164

I am trying to populate some infopath fields with AD data when a form
is open from a sharepoint library list. I am having real problems and
can not figure it out. I was able to find a way that works on the
client but not in the browser.



3 Answers Found

Answer #1    Answered By: Siobhan Waller     Answered On: Feb 04

I don't remember whether I answered a similar question or not a few weeks
ago, but I usually recommend a web service that hits the AD domain. The
following article provides some introductory help w/ writing the service:


Once you have the web method(s) written, you just create data  connections
from within your infopath  form template and pull what you want.

Answer #2    Answered By: Lorenzo Steele     Answered On: Feb 04

That may have been me posted the questions about 2 weeks ago. I am
new to .net and the article seems like a lot to do. Is there a more
simple method or example you may have.

Will there be any problems  once you publish the form to sharepoint
then try to opent the form in a browser.

Answer #3    Answered By: Divakar Naik     Answered On: Feb 04

To your second question: nope. That is the environment in which I've used
my Active Directory web methods, and they work as expected.

Re. a more simple example, the following article offers discrete snippets to
accomplish particular tasks (this looks closer to what I was doing):


MSDN offers a tutorial with similar code:


It's pretty simple, once you get the general idea. If you have trouble once
you get into it, you know where to find  us

Didn't find what you were looking for? Find more on Populate and infopath fields with AD Or get search suggestion and latest updates.