Dynamically populate input parameters of a secondary data source

V

vthakur

Hello:

I have a "Submit" form that submits to a web service. I have a secondary
data source on this form to populate lists. The secondary data source gets
data from another web service call. There are some input parameters (Query
Fields) required to get data from the web service. While creating the data
source, I can put in some sample values for these parameters. However I
cannot change those values. There is also no "Run Query" button available on
this type of a form to populate the secondary data source. Any suggestions
how the input parameters to the secondary data source can be populated
dynamically?

Thanks much.
 
B

Bob C.

The simple way is to do it via a rule to "Set a fields value". In this case,
the field will be your secondary datasources' query parm
 
V

vthakur

I could set it the way you are describing but there was no way of actually
invoking the web service. The button Run Query is not available on a "Submit"
form.

The way I have accomplished is through script "OnChangeEvent" or
"OnClickEvent" , I get the values from the form's DOM model and set those
values to the secondary data soury query fields and invoke the service.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top