Calculations are not my strong point, so I am hoping someone can help me.
I created a dynamic window with the following window calculation (Showcat is my main category and Category is my subcategory):
I have a filter set on the Category attribute so only the applicable subcategories show up:
On my window, I have the "Is calculate on chang" set to true for both the _Showcat and Category attributes and I have the Dynamic Window attribute on the window.
The dynamic window calculation works, except for these issues:
- In order for my filter to work, I have to use the default window. Unfortunately, I have a few windows that need the dynamic window calculation and you can only have one default selected.
- When using templates to prepopulate these fields, the dynamic window calculation does not run. If I "clear selection" and choose another _Showcat (main category) then it will run.
- When a _Showcat (main category) is selected and the Category (subcategory) appears and you select a subcategory, then the user changes their mind and selects "clear selection" on the main category and selects another option, the filter is no longer working to provide the correct subcategories.