I have a Categories Item and Each category has Sub categories
- Category 1
- Sub Category 1
- Sub Category 1
- Sub Category 1
- Category 2
- Sub Category 2
- Sub Category 2
- Sub Category 2
- Category 3
- Sub Category 3
- Sub Category 3
- Sub Category 3
I have Two MultiLists fields
- Category
- SubCategory
The query for Category
is
query:./ancestor-or-self::*[@@templatename='Site']/Components/Categories Folder//*[@@templateid='{11170316-18F1-43A3-9FC8-CAEAA0134389}']/*
This query is picking
-Category1
-Category2
-Category3
in the multilist which is fine.
I want to get SubCategory to be filled based on the Category MultiList selection.
For example if Category2 is selected in the Category multilist then SubCategory MultiList should have
SubCategory2
SubCategory2
SubCategory2
in the multilist.
Has anyone done something similar ?. Any help or suggestion would be appreciated
Thanks in advance