[ARCPY] How to Overwrite Web Layer and "Use the item description from the web layer"

384
0
09-28-2020 09:42 PM
explocarto
New Contributor III

Hello,

I try to update a feature layer with this functions: 

arcpy.mp.CreateWebLayerSDDraft()

arcpy.StageService_server()

arcpy.UploadServiceDefinition_server

But i lose 'Description' and 'Tags' when the service is updated.

-----------------

When i use ArcGIS Pro, i've this option "Use the item description from the web layer".

Hot to fill in the parameters with arcpy to keep "Description" and "Tags" ?

Thank you for your help

0 Kudos
0 Replies