I know I've done this before but I'm drawing a blank (it's Friday, I have more excuses if you need!).
I have a layer, let's say it's the Council District layer. In a Flex / Javascript web map is there some way where I can show JUST COUNCIL DISTRICT #1?
I feel like I set a setting on the XML in a Flex map once to only display a specific subset of a layer from the MXD? And I feel like this is something I saw in Javascript training for the Web App Builder. But I'm drawing blanks... any suggestions / answers?
Solved! Go to Solution.
What SQL conditions does the sublayer definitionexpression recognize?
In the listed question they use a definition expression in the XML. I had NO idea you could do this. THAT IS AMAZING!
THIS is what I was trying to get to. I have a layer that uses categories in the MXD. When it comes over to the Flex map I need to BASICALLY allow the end user to ONLY see each Catetgory... a definition expression makes this possible.
Hi Brian,
If you apply a filter to the feature layer in the web map, this should persist in the WAB application.
What SQL conditions does the sublayer definitionexpression recognize?
In the listed question they use a definition expression in the XML. I had NO idea you could do this. THAT IS AMAZING!
THIS is what I was trying to get to. I have a layer that uses categories in the MXD. When it comes over to the Flex map I need to BASICALLY allow the end user to ONLY see each Catetgory... a definition expression makes this possible.