<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I batch upload images to AGOL?  in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344051#M17208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking to batch upload some file content (images), you will need to automate this either using the ArcGIS API for Python or Rest API requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the REST API, you'll need to use the add item call:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm"&gt;Add Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will also need to share each item with everyone in order to access the url to the data:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/share-item-as-item-owner-.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/share-item-as-item-owner-.htm"&gt;Share Item (as item owner)—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find samples of the ArcGIS API here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=add%20item#arcgis.gis.ContentManager" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=add%20item#arcgis.gis.ContentManager"&gt;arcgis.gis module — arcgis 1.4.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the location of a very basic Rest API python script:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787b" title="http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787b"&gt;http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787b&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 22:15:40 GMT</pubDate>
    <dc:creator>KellyGerrow</dc:creator>
    <dc:date>2018-04-11T22:15:40Z</dc:date>
    <item>
      <title>How do I batch upload images to AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344050#M17207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are approx 200 images (less than 1MB in size) in JPG and BMP format. They are non-georeferenced, site photos I would like AGOL to host the images so that I can invoke them using URLs in pop-ups in my web app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I have the URL for each image, I store them in a CSV, TXT or other similar file, so that I can join this to an existing feature class in ArcMap prior to publishing as a feature service to AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344050#M17207</guid>
      <dc:creator>NevinWilson1</dc:creator>
      <dc:date>2018-04-10T11:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I batch upload images to AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344051#M17208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking to batch upload some file content (images), you will need to automate this either using the ArcGIS API for Python or Rest API requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the REST API, you'll need to use the add item call:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm"&gt;Add Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will also need to share each item with everyone in order to access the url to the data:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/share-item-as-item-owner-.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/share-item-as-item-owner-.htm"&gt;Share Item (as item owner)—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find samples of the ArcGIS API here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=add%20item#arcgis.gis.ContentManager" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=add%20item#arcgis.gis.ContentManager"&gt;arcgis.gis module — arcgis 1.4.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the location of a very basic Rest API python script:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787b" title="http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787b"&gt;http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787b&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 22:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344051#M17208</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-04-11T22:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I batch upload images to AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344052#M17209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload batch of images (from my desktop), and I trying to run the codes from the below link you provided:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fcloudygis.maps.arcgis.com%2Fhome%2Fitem.html%3Fid%3Df3d6a950eb8e4a07a22e0730fd6a787b" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;(&lt;STRONG&gt;additems.py&lt;/STRONG&gt;) ==&amp;gt;&amp;nbsp; http://cloudygis.maps.arcgis.com/home/item.html?id=f3d6a950eb8e4a07a22e0730fd6a787&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have access on ArcGIS online as a publisher!&amp;nbsp; I am trying to run the codes, but breaks after I enter my AGOL credentials. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I changed my images file path, but doesn't work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where are these paths ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uploadPartURL ='{}.maps.arcgis.com/sharing/rest/content/users/{}/addItem'.format(portalUrl, user)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; shareurl = '{}.maps.arcgis.com/sharing/rest/content/users/{}/shareItems'.format(portalUrl, user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are these paths from online content?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Any help would be appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Jules.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 08:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344052#M17209</guid>
      <dc:creator>JulesKarasira</dc:creator>
      <dc:date>2019-03-18T08:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I batch upload images to AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344053#M17210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the error message that you are receiving?&lt;/P&gt;&lt;P&gt;What version of Python are you running his in? Be aware that this is written in an older version (2X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:21:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344053#M17210</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2019-03-18T16:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I batch upload images to AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344054#M17211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I was using a wrong version! It is running amazing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 08:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-i-batch-upload-images-to-agol/m-p/344054#M17211</guid>
      <dc:creator>JulesKarasira</dc:creator>
      <dc:date>2019-03-19T08:08:51Z</dc:date>
    </item>
  </channel>
</rss>

