Posts

Showing posts with the label Person picker

Auto-populate the person/Group picker from the current user on InfoPath 2007/2010/2013

Image
If you need to fill the default value of the person/group picker with the current logged user when the form is loading, there is an easy way to do it. The following steps will show you how to do it: Create a web service connection to get the user profile information from the current user: Manage Data Connections -> Add -> Receive Data -> SOAP Web Service: Include the location of the SOAP Web service definition: http:// YourServer /_vti_bin/UserProfileService.asmx?WSDL Select GetUserProfileByName Make sure the "Automatically retrieve data when form is opened" option is ticked.   2. Add a Person/Group picker field to your info path form  3. Create a new action rule in the "Form Load" to run under a condition, if needed, i.e: Add the current user into the Person/Group picker field when the Person/Group picker field is blank:  DisplayName is blank 4. Set the Person/group picker DisplayName to Pref...