<?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: Download Photos from AGOL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166370#M8130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following tool will do this for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-6496"&gt;https://community.esri.com/docs/DOC-6496&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 18:16:08 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2016-10-12T18:16:08Z</dc:date>
    <item>
      <title>Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166366#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have taken photos using Collector. Each photo is associated with a point. This is in an AGOL WebMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to download the File Geodatabase by following these instructions:&lt;/P&gt;&lt;OL style="background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Go to the Item Details page of the layer in the Web Map which you were editing through Collector and adding attachments to.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;You should see an Export Data button.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Click it and select the option Export to FGDB.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Enter a Title, Tags, Summary and select the folder in your My Content directory you want the File Geodatabase saved to, then click Export.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Once the Export is complete, you will be redirected to the Item Details page of that new File Geodatabase.&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Click the Download Button&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this only downloads the File Geodatabase, it does not download the actual photos which were taken using Collector for ArcGIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to get the actual photos to download?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 14:45:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166366#M8126</guid>
      <dc:creator>TimHayes1</dc:creator>
      <dc:date>2016-10-12T14:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166367#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is likely that your photos are in the geodatabase as "attachments". You can likely get each one, but if you wanted to extract them all as a batch process, take a look at this suggestion:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/technical-article/000011912" title="http://support.esri.com/technical-article/000011912"&gt;How To: Batch export attachments from a feature class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 14:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166367#M8127</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-10-12T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166368#M8128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I need to create a new Toolbox to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:09:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166368#M8128</guid>
      <dc:creator>TimHayes1</dc:creator>
      <dc:date>2016-10-12T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166369#M8129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't used this script but it looks like you need to save that python code as its own script (with the .py extension), then add that script to your toolboxes in Desktop. So it's not a new toolbox, it's basically loading the script that you wrote.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166369#M8129</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-10-12T15:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166370#M8130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following tool will do this for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-6496"&gt;https://community.esri.com/docs/DOC-6496&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166370#M8130</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-10-12T18:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166371#M8131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have trouble getting the image attachments using the workflow you describe. &amp;nbsp;You may want to create a Tech Support case to look into whether there are problems specific to your service. &amp;nbsp;Alternatively, there are a few other ways that you can download your services to file geodatabase (including attachments). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a replica. &amp;nbsp;&lt;BR /&gt;1) Go to the REST endpoint of your service (URL&amp;nbsp;should look something like this:&amp;nbsp;&lt;A class="link-titled" href="http://services.arcgis.com/Wl7Y1m92PbjtJs5n/arcgis/rest/services/AlanZion_Springs/FeatureServer/0" title="http://services.arcgis.com/Wl7Y1m92PbjtJs5n/arcgis/rest/services/AlanZion_Springs/FeatureServer/0"&gt;http://services.arcgis.com/Wl7Y1w02PfjtJs5n/arcgis/rest/services/AlanZion_Springs/FeatureServer/&lt;/A&gt;. &amp;nbsp;Make sure that there isn't a layer number at the end of the URL).&lt;BR /&gt;2) Scroll to the bottom of the page and click 'Create Replica'.&lt;BR /&gt;3) Fill out the page as below. &amp;nbsp;You'll want to specify which service layers you want to include in your output geodatabase (yours might not be layer 0). &amp;nbsp;If your service is small you don't need to create the replica asynchronously, but if you have a lot of attachments it's probably large and you may as well go asynchronous.&lt;BR /&gt;&lt;IMG alt="createReplica settings" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/244073_2016-10-12_12-20-09.png" style="width: 620px; height: 561px;" /&gt;&lt;BR /&gt;4) Click Create Replica. &amp;nbsp;On the next page click "Check" until the download is complete and a result URL is provided.&lt;BR /&gt;Detailed description of each createReplica parameter is outlined here:&amp;nbsp;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api%20%20/index.html#/Create_Replica/02r3000000rp000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api%20%20/index.html#/Create_Replica/02r3000000rp000000/"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Use ArcGIS Pro&lt;BR /&gt;1) Open Pro and add your service to a new map&lt;BR /&gt;2) In the GeoProcessing pane open the Feature Class to Feature Class tool and drag the service layer from your map into the tool as the input, then fill out the remaining parameters as needed. &amp;nbsp;&lt;BR /&gt;The output from the tool should include your attachments. &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Use the Extract Data analysis tool in the Map Viewer. &amp;nbsp;Just open the service in a map and Extract Data (from the Manage Data section) and fill in the layer you want to extract. &amp;nbsp;Note: running this analysis tool consumes credits. &amp;nbsp;You can use the "show credits" in the tool to see how many credits will be consumed. &amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 20:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166371#M8131</guid>
      <dc:creator>AlanRex1</dc:creator>
      <dc:date>2016-10-12T20:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166372#M8132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have encountered the same problem and I filed tech support issue. Our national Esri support where able to duplicate the bugg and filed an issue to Esri.Inc a month ago but they haven´t found a solution yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have other Feature-Layer where it works as intended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 06:43:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/166372#M8132</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-10-24T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/1354622#M56130</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;About 7 years too late, but we have found we need to do this quite often. Since the support page is for ArcMap and assumes you know how to make script toolboxes, we needed to write a more step-by-step guide for people who are doing this for the first time and have never made script toolboxes. I just thought I would share since this page helped me learn how to do this years ago.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Apologies for the formatting, copied from a word doc, so it didn't come in quite perfectly. We would like to eventually edit the code so it has a drop-down of tables in the currently opened map and allows you to assign the name of the photo based on an identifier or combination of identifiers in the attribute table. I'm not a solid coding person myself, so I haven't had the time to dive into that.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;How to Create the Photo Extraction Toolbox with Python&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Copy the code as provided here: &lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-batch-export-attachments-from-a-feature-class-in-000011912" target="_blank"&gt;How To: Batch Export Attachments from a Feature Class in ArcMap (esri.com)&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;Paste your copied text in a text file (use Notepad).&lt;/LI&gt;&lt;LI&gt;Save the Notepad document as ExportAttachments.py (not .txt).&lt;/LI&gt;&lt;LI&gt;In ArcGIS Pro in the Catalog pane, go to Toolboxes.&lt;UL&gt;&lt;LI&gt;Right click -&amp;gt; New Toolbox&lt;/LI&gt;&lt;LI&gt;Navigate to your project’s Tool folder&lt;/LI&gt;&lt;LI&gt;Name your new toolbox&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapsInRaleigh_0-1701270263770.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87450i8C436FCE95862B31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MapsInRaleigh_0-1701270263770.png" alt="MapsInRaleigh_0-1701270263770.png" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Create a new script tool by right-clicking on your new toolbox and click “Script”.&lt;/LI&gt;&lt;LI&gt;In the “General” Tab, name your tool!&lt;UL&gt;&lt;LI&gt;The “Name” field cannot have spaces – this is how you reference the tool in Python Code.&lt;/LI&gt;&lt;LI&gt;The “Label” field is how the tool with appear in your toolbox.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapsInRaleigh_1-1701270263772.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87444iAD9F6BE721DB9EDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MapsInRaleigh_1-1701270263772.png" alt="MapsInRaleigh_1-1701270263772.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In the “Parameters” tab, set your script up like the screenshot. These are the items that the user of the tool with interacts with.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapsInRaleigh_2-1701270263773.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87443iDB792B00D7140869/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MapsInRaleigh_2-1701270263773.png" alt="MapsInRaleigh_2-1701270263773.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;In the “Execution” tab, click on the folder at the top right to navigate for your python code.&lt;UL&gt;&lt;LI&gt;If your code does not appear, return to Windows File Explorer. You most likely have file extensions turned off. Go to the “View” tab and check the box next to “File name extensions”.&lt;/LI&gt;&lt;LI&gt;Now on your script, rename it, and backspace the .txt at the end of the file. It should say “ExportAttachments.py”.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapsInRaleigh_3-1701270263774.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87447i941271F6044E056C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MapsInRaleigh_3-1701270263774.png" alt="MapsInRaleigh_3-1701270263774.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapsInRaleigh_4-1701270263775.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87446iACD14A54C6655EBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MapsInRaleigh_4-1701270263775.png" alt="MapsInRaleigh_4-1701270263775.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Return to ArcGIS Pro, try again to add your python code. If it is not there immediately, click refresh at the top of the window.&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Click “OK”.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Time to run the tool!&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Use the New Toolbox&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the Catalog pane, under toolboxes, click on your new toolbox.&lt;/LI&gt;&lt;LI&gt;Click on your Export Attachments tool from your toolbox.&lt;UL&gt;&lt;LI&gt;It should look like this:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MapsInRaleigh_5-1701270263775.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87445i43B4B22CEA6F54D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MapsInRaleigh_5-1701270263775.png" alt="MapsInRaleigh_5-1701270263775.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;For “Attachment Table”, click on the yellow folder.&lt;UL&gt;&lt;LI&gt;Navigate to where the downloaded FGDB was extracted.&lt;/LI&gt;&lt;LI&gt;Within the FGDB is a table ending in ATTACH. Click on that.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;For “Output Folder”, this is the location where all the photos will be saved. Click on the yellow folder and navigate to that location.&lt;UL&gt;&lt;LI&gt;Remember that the photos will have whatever name was input when the photo was taken. If no name was provided, they will have arbitrary names. Such as “Att22_Photo 5”. They will not be grouped by asset type.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Click Run.&lt;UL&gt;&lt;LI&gt;The photos should all be saved to the folder that was selected.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 29 Nov 2023 15:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/1354622#M56130</guid>
      <dc:creator>MapsInRaleigh</dc:creator>
      <dc:date>2023-11-29T15:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Download Photos from AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/1366993#M56700</link>
      <description>&lt;P&gt;Hey. I tried using your script but I keep getting syntax errors on line 12. Any ideas? Would it be possible to get in contact to go over the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 20:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/download-photos-from-agol/m-p/1366993#M56700</guid>
      <dc:creator>AllenCopp</dc:creator>
      <dc:date>2024-01-05T20:50:09Z</dc:date>
    </item>
  </channel>
</rss>

