What determines whether an arcpy map layer that was created as part of a created created using ...
result = arcpy.mp.ConvertWebMapToArcGISProject(WEB_MAP_AS_JSON)
can be turned off? I'm creating a map from the above...
aprx = result.ArcGISProject
mymap = aprx.listMaps()
But when I try turn layers invisible, I get this for some:
The attribute 'visible' is not supported on this instance of Layer.
The layers all derive from a Portal webmap so that they have...
layer.isWebLayer = True
Most of my layers don't have that issue and wilingly switch to :
layer.visible = False
Is this limitation based on a setting in the webmap or in the underlying map services (item) ? Thanks.