user profile values are not populating in the infopath form after publishing it to Form Library in Sharepoint 2010
We have a requirement to prepopulate userinfo fields when the form loads and when the GetInfo button is clicked.
We use GetUserProfileByName web service to retrieve userinfo fields, such as EmailAddress, Department, Division, Phone Number.
At Infopath Designer preview, all the userinfo fields are populated as expected. Then I published the Infopath form to the Form Library.
At browser, the formload only populate logon user's name at the name picker field. Selected a different user and clicked on GetInfo button doesn't populate userinfo fields as well.
I have checked with a colleague but she uses custom list mostly. She didn't run into this issue.
What is happening here? The Infopath template is published to a Form library.
Does the permisison need to be elevated to Full Control to use the GetUserProfileByName webservice with Form library?
Currently the by default permisison is checked.
Please help and much appreciated!!