AnsweredAssumed Answered

Update metadata for feature layer in hosted service?

Question asked by LeonGIS on Oct 3, 2018
Latest reply on Oct 4, 2018 by LeonGIS

I have a hosted feature service in AGOL that I would like to overwrite the metadata from an xml file.  It can be done manually (as shown circled in red in image below). Is the ability to update the metadata for a layer exposed in the ArcGIS API for Python?

I'm able to update the item metadata (as shown in circled in blue), with this script:


gis = GIS(agol_url, agol_user, agol_pass)

myItem = gis.content.get(itemid)



However, the ability to update the layer level metadata is not as straightforward (or maybe not available).