cancel
Showing results for 
Search instead for 
Did you mean: 

Fill drop down list with data from service ...

Former Member
0 Kudos

Hi,

could someone point out a document / blog or tell me the best practice in order to do the following.

Within a form, we want to be able to select in a drop down list an element (exp : male / female) and according to the choice,

fill the second drop down list (which is also in the same form) with the data that is associated to this selection for example , products for males if males were selected.

Before you select anything in the first dropdown, the second one should be empty.

Then you could go on as follows... selecting another item and the next drop down list being filled...

If you change your selection in the first dropdown the other drop downs should be reinitalized...

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

PradeepBondla
Active Contributor
0 Kudos

Hi,

above solution will work only if you have first dropdown value as input to your bapi/query/webservice which populates your second drop down.

regards,

Pradeep

Former Member
0 Kudos

Hi,

it menas that on each ech selction of the Dropdown1 , the other dropdwon values shoudl chnage accordingly right ?

Ok then the Dropdwon 2 values shoudl change according to the Dropdown1 input value.

while you defining the Dynamic entry list for the second drop down ,for the input port of your dataservice (which populates the values like product and all fro you ) set the @Dropdownvalue as input .

try the above soln and let me know the result.

Regards,

Govindu

Former Member
0 Kudos

Thanks... I will try this.