Select to view content in your preferred language

Layer list trigger appearance of filter

419
2
Jump to solution
09-12-2023 11:58 AM
mshanaghan
Occasional Contributor

Does anyone know of a way that I could have a filter only become visible if the corresponding layer is turned on in the layer list? 

For example, if I toggle on the "Parking Lots" layer, the parking lots filter will appear? Can this be accomplished through triggers and actions?

Thank you!

0 Kudos
1 Solution

Accepted Solutions
TonghuiMing
Esri Regular Contributor

@mshanaghan 

For now, the presence of a widget, say Filter in this case, is determined by the app configuration, but not the data dynamic changes, as indicated in your case. Also, hiding the filter item will not affect other widget usage, say if a List is using that same layer - which will create confusions.

 

There is no way to achieve that via OOTB functions, but you may try doing so with dev edition and a custom widget.

View solution in original post

0 Kudos
2 Replies
TonghuiMing
Esri Regular Contributor

@mshanaghan 

For now, the presence of a widget, say Filter in this case, is determined by the app configuration, but not the data dynamic changes, as indicated in your case. Also, hiding the filter item will not affect other widget usage, say if a List is using that same layer - which will create confusions.

 

There is no way to achieve that via OOTB functions, but you may try doing so with dev edition and a custom widget.

0 Kudos
mshanaghan
Occasional Contributor

Good to know. Thank you much.

0 Kudos