Experience builder filter widget turn on map layer or default to nothing displayed

760
1
Jump to solution
05-09-2023 08:34 AM
ShirleyYueLi
New Contributor III

When using filter widget in experience builder to filter a invisible layer on the map, is it possible to turn on the layer when user turns on the filter? Or if the layer is turned on in the map, the filter widget default to 'not equal to any value' so nothing is displayed? Thank you!

0 Kudos
1 Solution

Accepted Solutions
TonghuiMing
Esri Regular Contributor

For the first direction, it is currently not achievable; a similar post - https://community.esri.com/t5/arcgis-experience-builder-questions/hide-points-by-default-and-use-fil... 

 

However, for the second one, check the other post - https://community.esri.com/t5/arcgis-experience-builder-questions/overwrite-default-map-filter/m-p/1... 

Basically, you can add a hidden clause that uses a pre-configured clause like 'OBJECTID=-1' (which would definitely filter all results), and then ask users to type in or change the criteria for follow-up actions. However, this method could be limited to use case complexity. For example, if the filter criteria have many levels, then it could be hard to achieve.

View solution in original post

1 Reply
TonghuiMing
Esri Regular Contributor

For the first direction, it is currently not achievable; a similar post - https://community.esri.com/t5/arcgis-experience-builder-questions/hide-points-by-default-and-use-fil... 

 

However, for the second one, check the other post - https://community.esri.com/t5/arcgis-experience-builder-questions/overwrite-default-map-filter/m-p/1... 

Basically, you can add a hidden clause that uses a pre-configured clause like 'OBJECTID=-1' (which would definitely filter all results), and then ask users to type in or change the criteria for follow-up actions. However, this method could be limited to use case complexity. For example, if the filter criteria have many levels, then it could be hard to achieve.