AnsweredAssumed Answered

Setting Definition Expressions with a Dynamic Map Service

Question asked by dstahl on Jun 14, 2017
Latest reply on Jan 16, 2018 by dstahl

I'm looking to migrate an app from 10.2.7 to 100.0.0, but I'm having trouble finding the replacement logic for the old ArcGISDynamicMapServiceLayer. It has a LayerDefinitions property where I could set the definition expression (aka where clause) for each applicable sub-layer. How do I do that in 100.0.0?

 

For 100.0.0, I'm using the ArcGISMapImageLayer. I simply can't find a spot to set definition expressions. I must be missing something.

 

Note that this is not something I can solve by using a FeatureLayer. This is a dynamic map service with a whole bunch of sub-layers, and I'm looking to get map images consisting of a subset of those layers with some definition expressions in play.

 

Thanks.

Outcomes