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

A review of VisualSP for SharePoint 2013 - unsolicited

One of the things we wanted to do in our new SharePoint 2013 environment was create a more user friendly environment and increase adoption by giving users the ability to learn "how-tos" without the need of a training class or a guided tour by the SharePoint person (aka me).  My first thought when we began planning for the upgrade was that built-in help would be excellent, but would also be a monumental task to create.  Having used many of SharePoint-Videos.com videos for my own learning needs, I turned to their site for ideas. Enter VisualSP.  Obviously, I'm not the only person who desired in-context help for the end users. We purchased VisualSP for SharePoint 2013.  Once our environment was configured properly, installation was not difficult. The installation procedures were straight forward and easy to follow. I am not replicating that information here, but will hit the highlights.  For full details and screenshots, see the link above. Installation must...