SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an InfoPath 2010 form that is pulling data from a web service.

For example, I have a text box, a button, and a drop down list. The button submits the text box value to the web service. The drop down list has the values of the queried results from the web service.

So what I'm trying to do is when the user places a different value in the text box and then clicks the button, the drop down list is updated with the new values.

I can not get the actions to repost and refresh the drop down list. Any help?


share|improve this question
up vote 1 down vote accepted

Adding to what rjcup3 said. Easiest way to do this is to add a rule that sets your web server parm again then another rule that queries data and select your web service as the data source. This would be a no code solution.

Once the data is queried again, if your ddl is bound to the web service datafield it will automatically refresh.

share|improve this answer

What you would need to do is call the web service again with the updated user input from the button's click handler.

share|improve this answer
And then update the UI... – RJ Cuthbertson May 2 '12 at 19:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.