Skip to main content

Setting the Manager in an Infopath form from a Secondary Data Connection

Since I seem to have trouble remembering how to do this every time I create a new form, I am writing up the steps here to set the UserID and Supervisor values in an InfoPath form from the User Profiles.

Here's what we're trying to do :
So how do we accomplish this?

First, we need to create the data connection to the User Profiles Service.

In the form, create a new Data Connection. 

This Data Connection will Receive Data from a Soap Service.  

You'll use something similar to this: http://YourWebServiceDomain/_vti_bin/UserProfileService.asmx?WSDL

(put in your server's URL for the YourWebServiceDomain).

Select the GetUserProfilebyName operation.

Click Next twice and Finish

 



Comments

Popular posts from this blog

How to Embed a PowerPoint Presentation in SharePoint Online 2010 - End User - NothingButSharePoint.com

How to Embed a PowerPoint Presentation in SharePoint Online 2010 - End User - NothingButSharePoint.com Was looking for a way to do this... not sure if it will work on SharePoint 2007, but I will be testing it and see. If not, this information should come in handy once our upgrade to 2010 is completed.