AnsweredAssumed Answered

Modifiying a view using arcgis python api

Question asked by oisins on Feb 13, 2020
Latest reply on Feb 14, 2020 by oisins

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 :


I've attempted to take a copy of the manager properties - modify the geometry value and then run 



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

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