thumbnail in Additem ArcGIS REST API

3025
1
07-31-2015 01:41 PM
PaulFrank
New Contributor II

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.

0 Kudos
1 Reply
TrevorHart2
New Contributor III

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.