Attn: JS API 3.x
Anyone have a sample for setting a definition expression on a feature layer in a web map?
I'd like to give my end-user a multiselect pick list of unique values in a column and have the layer within the web map filter its features based on that where clause.
Here is an example of how it works when you load the FeatureLayer through code directly: https://codepen.io/JimBarry/pen/eYYyBya
But not when the layer is inside a web map.
Thanks!