Question

I am having a form and I am trying to get the current user details to be repopulated like first name, lastname, email, phone, etc using the user information list in SharePoint 2010. I did all the steps but when the user trying to add the new item I see all the fields as blank nothing is showing up.

I have created a data connection to User Information list and than on form load I have set fields value UserName() = UserName() from function fx and than query for data using data connection.

Can anyone help me on this if am missing something.

Was it helpful?

Solution 2

Instead of using Site Collection to call for user Information list in InfoPath I have used Site level and it worked.It is populating all the data from the list. Thanks.

OTHER TIPS

Use GetUserProfileByName operation of UserProfileService.asmx web service. It has the properties that you need. Add this on Data Connection, this will run on load. Put rules on load to set the fields that you want to be auto populated using the web service.

See this for detailed steps: http://thinketg.com/using-infopath-and-the-web-service-getuserprofilebyname/

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top