Hi guys,
I'm attempting create multiple views off of a single feature layer -
I can copy a view I've created but I cant modify the visible area (trying to make views for different parts of the country)
This appears to be the geometry filter on the view :
AFeatureLayer.manager.properties.adminLayerInfo.viewLayerDefinition.table.filter.value.geometry
I've attempted to take a copy of the manager properties - modify the geometry value and then run
AFeatureLayer.manager.update_definition(copy_of_properties)
this returns an error message :
RuntimeError: Unable to update feature service layer definition.
Invalid definition for 'LastEditDate'.
Invalid definition for ESRI.ArcGIS.SDS.Metadata.EditingInfo
Then I attempted to only update using only AFeatureLayer.manager.properties.adminLayerInfo
with the geometry changed . This returns {'success': True}
This doesnt seem to actually update the layer and the view doesnt change filter when reloaded -
Any suggestions would be very useful as I cant find any documentation