Getting dropdown list on selecting a value from another drop down.
Hi Team, I have categories and sub categories in which one category is associated with many sub-categories. I am able to save the values into entity with association. Now, in user interface I want to select a category from drop down, on select of that I want to populate related sub categories in another dropdown. I am showing categories using reference selector. Could any one help me how to populate sub-categories on selecting of a category. Thanks in advance..
First, both your category and sub-category should have references to them from the context (data view) entity.
Next, create a second reference selector for sub-category.
On that second selector, look in the "Selectable Objects" tab for the "Constrained By" option. One of the XPaths selectable in the "Constrained By" list will achieve your goal..