Select to view content in your preferred language

Allow "contains the text" or "starts with" filter option for fields with domains

628
1
04-12-2024 09:00 AM
Status: Open
RobBlash
Frequent Contributor

When filtering a feature service using a field that has a domain, the only filtering option is to choose from the domain list. It would be very helpful to have other filter options, particularly "contains the text" or "starts with".

My domain looks like this:

  • C_2021
  • C_2022
  • C_2023 and so on.

I would like to filter MyField like 'C_%' so any newly added domain values are automatically picked up without updating the view. For now, I have to filter like MyField = 'C_2021' OR MyField = 'C_2022' OR MyField = 'C_2023' 

1 Comment
mthompson

Having a similar issue in ArcGIS Enterprise. Trying to make a dashboard and I'm trying to filter the widget on a field that has a domain, but some of the data in the field was typed free hand. The only options to filter are "include" or "don't include" and it only lists domain values. I can't use contains and free type text.