Select to view content in your preferred language

Data_Filter parameter

362
1
10-13-2023 04:37 PM
MarvinOconitrillo
New Contributor III

Hi, I'm creating a Experience Viewer and I need to apply a filter by parameters. In a data source, I have a column which containg string values; in that column I need to apply a search by several values, in a SQL clause I would use an IN clause (for example: column in ("value1", "value2")) to put all the values I need.

Is there any way to use the data_filter parameter with an IN clause?

0 Kudos
1 Reply
JeffreyThompson2
MVP Regular Contributor

If you have a column with a set of values and you need all of them to match, you could set up a clause set connected by AND logic with each clause being contains 'value'.

JeffreyThompson2_0-1697461033583.png

 

GIS Developer
City of Arlington, Texas