Select to view content in your preferred language

getWebLayerSharingDraft should have thumbnail property

658
1
12-12-2019 10:46 AM
Status: Open
HeatherWidlund
Frequent Contributor

I have recently learned how to script my web layer updates using the arcpy.sharing module. This is great, as I can update my parcel data every morning. However, every time the script runs, the thumbnail on AGOL is replaced with a generic one. I have a thumbnail specified in the aprx map, but it gets overwritten unless I publish directly from Pro.

Now that I am publishing my data in a data hub/open data site, this lack of a proper (custom) thumbnail matters. I don't want to have to reupload my thumbnail every day. I would like a property for getWebLayerSharingDraft to specify a thumbnail, as you can do with the summary and description. For my use case, the following idea would also work (the ability to create a default overlay for a thumbnail, with branding). Create default overlay for thumbnails 

1 Comment
ChristopherRatcliff

100% agree, I recently created a custom transformer in FME to update map image layers using the sharing module and the only thing I can't retain during updates is the thumbnail