Hi,
I want to apply a definitionexpression to the layers in my webmap. I had a mapimagelayer in the webmap and when I search for
wm = WebMap(webmap_item)
wm.layers
The expected output is to get all the layers, but I'm getting only single grouped map image layer. how do I get all the sublayers of that mapimage layer within the webmap and apply a definitionexpression to all layers.
Can anyone please answer this?