Need to click twice to populate user data?

I followed your instructions, I click "Preview" to load the page, after I filled out the network user ID in People Picker field, when I click "Click here to Load user data!" button, first click will load the local user profile (myself), second click load the correct user profile. I have verified the data connection that I created the  Automatically retrieve data when form is opened is unchecked. How do I make just one click to populate the desire user data.

Please advise,

Yellow E

January 29th, 2014 11:52pm


You might have followed the steps in this thread:

What if you publish this form first, then test it in that library, will this issue still exists?

You said that it will retrieve the current login users profile on the first click. The reason may be like this: After you click the button, the query will be sent out without taking the AccountName of the specific user. On the second click, we get the specific user from AD, then the query will retrieve the correct result.

I would suggest that you get the AccountName and save it to a hidden field first when you click the button. Then set a rule to check whether this filed contains value, then perform the query with this value.

By doing this, we can make sure that the query will be executed with the specific AccountName.

Feel free to reply with the test result if the issue still exists.

Best regards
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2014 5:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics