Thanks for the quick reply. As per your instructions i created Simple Test List with three columns (LastName, FirstName, UserName) and added new data connection to the user profile service(I did not use secure store this time and did not set rule on form load), added button instead and set the rules on the button click. Also drag all the query and ...