<?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: Copy attachments from one feature layer to another in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/copy-attachments-from-one-feature-layer-to-another/m-p/1205538#M4249</link>
    <description>&lt;P&gt;Well I managed to copy attachments from one feature service to another as I posted &lt;A href="https://community.esri.com/t5/python-questions/arcgis-rest-api-add-attachment-issue/m-p/1205534/highlight/true#M65394" target="_self"&gt;here&lt;/A&gt;, although I have to download them as string, decode and upload again. A server side solution would be best but this works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 19:33:50 GMT</pubDate>
    <dc:creator>mikaël</dc:creator>
    <dc:date>2022-08-23T19:33:50Z</dc:date>
    <item>
      <title>Copy attachments from one feature layer to another</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/copy-attachments-from-one-feature-layer-to-another/m-p/1202511#M4243</link>
      <description>&lt;P data-unlink="true"&gt;I'm using the &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/merge-layers.htm" target="_self"&gt;MergeLayers&lt;/A&gt; task to combine two point feature layers together. I got it working fine except it did not copy the attachments that both feature layers contain. This is described&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000018185" target="_self"&gt;here&lt;/A&gt;, but I used the REST API, not ArcGIS Online.&lt;BR /&gt;Is there any way to copy/paste attachments from one feature layer to another (possibly with a match on the GlobalID) ?&lt;/P&gt;&lt;P data-unlink="true"&gt;I can always make a copy of the first layer, export the second as a FGDB and then append this to the copy, but it involves more step, so I wonder if there is a simpler solution to manage &amp;amp; move attachments between layers.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/copy-attachments-from-one-feature-layer-to-another/m-p/1202511#M4243</guid>
      <dc:creator>mikaël</dc:creator>
      <dc:date>2022-08-22T15:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Copy attachments from one feature layer to another</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/copy-attachments-from-one-feature-layer-to-another/m-p/1205538#M4249</link>
      <description>&lt;P&gt;Well I managed to copy attachments from one feature service to another as I posted &lt;A href="https://community.esri.com/t5/python-questions/arcgis-rest-api-add-attachment-issue/m-p/1205534/highlight/true#M65394" target="_self"&gt;here&lt;/A&gt;, although I have to download them as string, decode and upload again. A server side solution would be best but this works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 19:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/copy-attachments-from-one-feature-layer-to-another/m-p/1205538#M4249</guid>
      <dc:creator>mikaël</dc:creator>
      <dc:date>2022-08-23T19:33:50Z</dc:date>
    </item>
  </channel>
</rss>

