Hello,
I am having trouble adding a thumbnail along with my addItem statement in the attached python script. A file is successfully added to ArcGIS online, but the thumbnail is nowhere to be found. I have searched for answers and followed the help as best I can but without success. Any help is much appreciated.
Apparently Python isnt very good at uploading files in a multi-part form. Took me 4 hours to figure this out but here is a working python script that will update a thumbnail.
Thumbnail images must be in the same directory as the script.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.