i am trying to add a dropdown data by calling a webservice
does anyone have some advice?
Like
Hello,
Could you please describe your business idea in more detail? By dropdown data, do you mean a collection of parameters?
Mira Dmitruk,
it's a filter system that let's me select a set of options based on another set of options, basically a filter system for lookups based on lookups, what i tried to do is input a parameter by selecting from a field and obtaining the filtered options based on the selected option it's like
if Provinsi = DKI Jakarta
then Kota = (Dropdown => Jakarta pusat, Jakarta Barat, Jakarta Utara, etc)
if Provinsi = Aceh
then Kota = (Dropdown => Aceh Selatan, Aceh Utara etc)
now im trying to find a way to filter the dropdown without going through them 1 by 1 by using an API and not Business Rules since i want to do it for 5 fields
Provinsi, Kota, Kecamatan, Kelurahan, Kode Pos
and each one needs to have the right option values
can anyone suggest a better way to handle this since i have no idea on how to do this