<?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: Write Attachments to AGOL Feature Service in ArcGIS Data Interoperability Ques.</title>
    <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1557470#M303</link>
    <description>&lt;P&gt;My apologies for this delayed reply.&amp;nbsp; Data Interoperability does support writing attachments in AGOL (or Enterpise) primarily by using AGOL's REST API. This was my presentation at the last UC -&amp;nbsp;&lt;A title="UC24 proceeding to Intro to Data Interop technical session" href="https://registration.esri.com/flow/esri/24uc/uc-2024-ps/page/proceedings/session/1708735471400001ofJU" target="_blank" rel="noopener"&gt;UC24 proceeding to Intro to Data Interop technical session&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a guide on what to use in the ESRI stack when working with attachments.&lt;/P&gt;&lt;P&gt;Attachments in feature layers are blobs stored in the data store.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;HFL attachments have simple 1:M relationship in AGOL&lt;/LI&gt;&lt;LI&gt;GDB or FS by reference use relationship class allowing 1:1 up to M:N.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Patterns of Use for reading/writing/moving attachments are the following:&lt;/P&gt;&lt;P&gt;For simple use cases, use core product tools (Python, GP tool)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Attachments collected with ESRI Fields Apps&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For complex workflows like below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Move attachments from non-ESRI to ESRI format&lt;/LI&gt;&lt;LI&gt;Manage attachments, eg change detection&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Store as hyperlink, database blob or file on disk&lt;/LI&gt;&lt;LI&gt;Reports&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Leverage the REST API and for tools use Data Interop of no-code/low code solution or Python or Notebook for coded solutions.&lt;/P&gt;&lt;P&gt;For the following workflows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Backup or Archive – use Replica or Download as FGDB (in the case of AGOL/Enterprise feature services with attachments)&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Non traditional attachment questions can be addressed using Arcade as described in this &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/" target="_self"&gt;Blog.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please send me a note &lt;A href="mailto:rsalvaleon@esri.com" target="_blank" rel="noopener"&gt;rsalvaleon@esri.com&lt;/A&gt;, if you want to pursue further a Data Interop solution. There is a clear pattern when working with attachments and each pattern would have some slightly different approach.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 14:17:39 GMT</pubDate>
    <dc:creator>RenatoSalvaleon3</dc:creator>
    <dc:date>2024-12-17T14:17:39Z</dc:date>
    <item>
      <title>Write Attachments to AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294</link>
      <description>&lt;P&gt;I am wondering if anyone has had success writing attachments to an existing feature service hosted on ArcGIS Online using the Data Interop extension. I've been trying to get a simplified workflow up and running (it acts identical to an append tool) but have been unable to get attachments written to a feature service.&lt;/P&gt;&lt;P&gt;For reference, I am running FME Workbench 2024.0.1.0 and ArcGIS Pro 3.1.1.&amp;nbsp;The workspace is set up as follows:&lt;/P&gt;&lt;P&gt;- The reader and writer are referencing feature services hosted on ArcGIS Online.&lt;BR /&gt;- "Ending_Locations_A_V2", which is the Reader, has 10 features, 2 of which have attachments.&lt;BR /&gt;- "Ending_Lovations_B_V2" has the exact same data schema and starts out empty, attachments are enabled.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianGiroux_0-1729088049751.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117319i6FC78A4697CCB70F/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrianGiroux_0-1729088049751.png" alt="BrianGiroux_0-1729088049751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've been able to confirm the reading of the attachments:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianGiroux_1-1729088311495.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117320i61C30678006ECF06/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrianGiroux_1-1729088311495.png" alt="BrianGiroux_1-1729088311495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This runs with no errors and only warns about OBJECTID and GLOBALID being read-only, which should not be a problem.&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;-Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 14:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549037#M294</guid>
      <dc:creator>BrianGiroux</dc:creator>
      <dc:date>2024-10-16T14:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Write Attachments to AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549812#M295</link>
      <description>&lt;P&gt;FME Workbench doesn't support directly writing attachments to ArcGIS Online, so I wouldn't expect the Data Interoperability extension to do this either. Happy to be proven incorrect on this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.safe.com/data-7/how-to-write-attachments-to-arcgis-online-19577" target="_blank"&gt;https://community.safe.com/data-7/how-to-write-attachments-to-arcgis-online-19577&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make HTTP requests within FME / Data interoperability, to attach the photos using objectids and urls and local files.&lt;/LI&gt;&lt;LI&gt;Use ArcGIS Python API and the AttachmentManager&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.features.managers.html" target="_blank"&gt;https://developers.arcgis.com/python/latest/api-reference/arcgis.features.managers.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm more comfortable with the python side but others I know have a lot of success with the HTTP request method.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 05:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1549812#M295</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-10-18T05:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Write Attachments to AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1550466#M296</link>
      <description>&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;Thanks for confirming my suspicion -- I'll have to look into the alternatives.&lt;/P&gt;&lt;P&gt;-Brian&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 14:12:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1550466#M296</guid>
      <dc:creator>BrianGiroux</dc:creator>
      <dc:date>2024-10-21T14:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Write Attachments to AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1557470#M303</link>
      <description>&lt;P&gt;My apologies for this delayed reply.&amp;nbsp; Data Interoperability does support writing attachments in AGOL (or Enterpise) primarily by using AGOL's REST API. This was my presentation at the last UC -&amp;nbsp;&lt;A title="UC24 proceeding to Intro to Data Interop technical session" href="https://registration.esri.com/flow/esri/24uc/uc-2024-ps/page/proceedings/session/1708735471400001ofJU" target="_blank" rel="noopener"&gt;UC24 proceeding to Intro to Data Interop technical session&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a guide on what to use in the ESRI stack when working with attachments.&lt;/P&gt;&lt;P&gt;Attachments in feature layers are blobs stored in the data store.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;HFL attachments have simple 1:M relationship in AGOL&lt;/LI&gt;&lt;LI&gt;GDB or FS by reference use relationship class allowing 1:1 up to M:N.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Patterns of Use for reading/writing/moving attachments are the following:&lt;/P&gt;&lt;P&gt;For simple use cases, use core product tools (Python, GP tool)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Attachments collected with ESRI Fields Apps&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For complex workflows like below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Move attachments from non-ESRI to ESRI format&lt;/LI&gt;&lt;LI&gt;Manage attachments, eg change detection&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Store as hyperlink, database blob or file on disk&lt;/LI&gt;&lt;LI&gt;Reports&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Leverage the REST API and for tools use Data Interop of no-code/low code solution or Python or Notebook for coded solutions.&lt;/P&gt;&lt;P&gt;For the following workflows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Backup or Archive – use Replica or Download as FGDB (in the case of AGOL/Enterprise feature services with attachments)&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Non traditional attachment questions can be addressed using Arcade as described in this &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/" target="_self"&gt;Blog.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please send me a note &lt;A href="mailto:rsalvaleon@esri.com" target="_blank" rel="noopener"&gt;rsalvaleon@esri.com&lt;/A&gt;, if you want to pursue further a Data Interop solution. There is a clear pattern when working with attachments and each pattern would have some slightly different approach.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 14:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1557470#M303</guid>
      <dc:creator>RenatoSalvaleon3</dc:creator>
      <dc:date>2024-12-17T14:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Write Attachments to AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1561550#M308</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/143045"&gt;@BrianGiroux&lt;/a&gt;&amp;nbsp;I am glad we got this figured out with your AGOL to Enterprise attachment backup workflow.&lt;/P&gt;
&lt;P&gt;Let me know if I can be of further assistance as you address the next step in your change detection workflow.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 23:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/write-attachments-to-agol-feature-service/m-p/1561550#M308</guid>
      <dc:creator>RenatoSalvaleon3</dc:creator>
      <dc:date>2024-11-21T23:15:06Z</dc:date>
    </item>
  </channel>
</rss>

