-
You have a rule under FormLoad that runs the query without setting the query field. If the query field isn't set, the GetUserProfileByName connection returns info for the current user. You have a default value for JobTitle that sets the field to AccountID for some reason. As I've suggested in the past, it would be better to use rules for ...
-
I noticed that I'd set up an earlier rule that was populating the fields with my details so I stripped them out. I'm sorta lurching towards a solution case now when I select a user it populates the Job Title with i:o# norgine\hjones, so it's returning results for the selected user, just not the specific details. Problem is I can't ...
-
Hi,
I am using Infopath v14 with SharePoint 2010. I want to amend an Infopath Form to add a couple of new questions relating to two new fields.
I have gone into the SharePoint List and created 2 new colums for the 2 new fields. However, I can't seem to see them in the 'fields' dropdown on the right ...
-
This is because you are opening it in IP, not in design mode. Save the file locally. Right click the saved file and select Design to open in design mode. :)
-
I cannot open it. It says I need domain permissions. Worse case you can just copy and paste the rules. Sorry about that
-
-
OK I moved and renamed everything :)
-
https://sharepointisland.wordpress.com/tag/getuserprofilebyname/ is just one sample. You don't do this in the data connection wizard - but in rules on the form.
-
Hi Hilary. No I haven't set the query field on the GetUserProfileByName data connection. Do you have a link to a blog on how to do it. I'm looking at the modifying the data connection with the Data Connection Wizard, but can't see where I could do that.
-
You have to set the query field in your GetUserProfileByName data connection and execute the query. Are you doing that? I encourage you to put the query & data fields for that data connection on your form, temporarily, and add a button that queries it so you can try setting the query field manually and seeing the results.