Data population by passing parameters in http call by selection of other control

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Data population by passing parameters in http call by selection of other control

debasis123
Populating data in one control  through ajax (http call) by passing few selected value of autocomplete list which is in other control through parameters of Http call .topic.png



Attached screenshot link : https://www.screencast.com/t/2StzRDat

Reply | Threaded
Open this post in threaded view
|

Re: Data population by passing parameters in http call by selection of other control

Alessandro  Vernet
Administrator
Hi Debasis,

Have you tried using an HTTP Service and corresponding Action, defined in Form Builder?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Data population by passing parameters in http call by selection of other control

debasis123
Hi Alex,

I am done with the configuration of http call for "Description of storage" as well as "Location" field.

But problem I am facing : while selecting any autocomplete value in the "Description of storage" field , let say I have choosed  'Demo01-Res-002",at the same time I want to pass the "Demo01-Res-002" to the http call configured for "Location" field as a Url parameter and to load corresponding Location and to populate in the location field.



Regards,
Debasis



Reply | Threaded
Open this post in threaded view
|

Re: Data population by passing parameters in http call by selection of other control

Alessandro  Vernet
Administrator
Got it Debasis, so "Location" is also an autocomplete? And are you indeed
looking to do the following:

1. In Description of Storage, user selects "Demo01-Res-002".
2. You call an HTTP service passing that value ("Demo01-Res-002").
3. Based on the result from the service, you set the value of the Location
autocomplete.

Is that the case? Were trying to do steps 2 and 3 using a Form Builder HTTP
service and action?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet