Skip to main content

Posts

Showing posts from July, 2013

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