Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello everyone! I've already selected the first box, so how do I get the second box to auto-match based on the things I've selected in the first box?
Solved! Go to Solution.
In that case the selectedItemsChanged event and the Selected Text would be bound to a service called e.g. "GetSubcategories". That service would deliver the right set of values for the second dropbox. The result of the service would be bound to the dropbox.
Ok thanks, which property should I bind using the drop down property
Binding should be like the below image.
Property - SelectedText from source Dropdown 1 to SelectedText of destination Dropdown 2.
Thanks & Regards,
Arun C
This one action doesn't seem to accomplish that when the first box selects a fruit, the second box automatically becomes a selection of the fruit category, e.g., if the first box selects a fruit, the second box can select apples, pineapples, etc.
In that case the selectedItemsChanged event and the Selected Text would be bound to a service called e.g. "GetSubcategories". That service would deliver the right set of values for the second dropbox. The result of the service would be bound to the dropbox.
where should I find GetSubcategories?I can't find it here.
No that's a service you will have to write. There you provide the right values based on the selected categories.
How should the service content be filled in.
No-one knows your business logic, so only you can answer this.
Most probably the service would have a string as input (for the selected category) and depending on the string value (e.g. "Fruits") you would create an infotable containing some rows with fruit names and return that infotable as a result.
Oh, I think I got it. Thanks.
Hello @Snoopy_hu,
It looks like you have some responses from some community members on your topic. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Community Moderation Team.