In Portal, can you set a filter to be on by default

43
2
08-23-2019 07:21 AM
Highlighted
New Contributor III

I want to hide a certain selection of features when people first open the app, but allow them the option to turn them on if they choose to do so. I can set the filter in Map, but then users can't alter it, or I can provide a filter, but it defaults to being off. Is it possible for it to default to being on?

Ta

Tags (2)
Reply
0 Kudos
2 Replies
Highlighted
Esri Contributor

Hello Simon!

I believe Hosted Feature Layer Views (if your data is hosted) would be the best option for you. You can set a filter on the view, and then add the view to your map and the map to your application. The view's filter can be altered, but will be on by default.

For more information, see: Create hosted feature layer views—Portal for ArcGIS | ArcGIS Enterprise 

I believe it's available starting at 10.6.0 and up, as the documentation drop-down only goes that far back.

Hopefully that works for you?

Best regards,

Rachel

Esri Support Services

Rachel Guttmacher
ArcGIS Online Technology Lead
Esri Support Services
Reply
0 Kudos
Highlighted
New Contributor III

Doh! We're 10.5.1 and apparently it's not available ; at least there's no sign when I go to Overview.

Guess I'll have to wait till the organisation upgrades.

Reply
0 Kudos