I’m facing issues with setting up a data connection between SharePoint and InfoPath. It works fine without any issues until I publish the form.
The point is that I would like to get a normal username in InfoPath instead of the current format (i:0#.w|domain\firstname.lastname).
Hence I’ve set up a data connection to GetUserProfileByName but unfortunately the system runs in error when I open the form in SharePoint.