<?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: Questions about geodatabase feature attachments in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/questions-about-geodatabase-feature-attachments/m-p/1176694#M7385</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We figured it out:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. set&amp;nbsp;AGSGenerateGeodatabaseParameters.returnAttachments = false to not include existing attachments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. set&amp;nbsp;AGSGenerateGeodatabaseParameters&lt;/SPAN&gt;.attachmentSyncDirection = AGSAttachmentSyncDirection.&lt;SPAN&gt;upload.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;AGSArcGISFeatureTable.hasAttachments will be true if the layer in the feature service is enabled&amp;nbsp;with attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then we are able to add attachment to features offline.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shimin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 01:49:39 GMT</pubDate>
    <dc:creator>ShiminCai</dc:creator>
    <dc:date>2022-05-24T01:49:39Z</dc:date>
    <item>
      <title>Questions about geodatabase feature attachments</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/questions-about-geodatabase-feature-attachments/m-p/1176272#M7381</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We are using AGSGeodatabaseSyncTask to generate offline geodatabases. In the generated geodatabase we don't want to include existing feature attachments. To do this, we set the AGSGenerateGeodatabaseParameters.returnAttachments = false.&lt;/P&gt;&lt;P&gt;My first question is: am I able to add attachments to the features in the generated geodatabase?. Here is my post about the issue a few years back:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-geodatabase-attachments/m-p/653941" target="_blank"&gt;https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-geodatabase-attachments/m-p/653941&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My second question is: how do I determine if a layer is enabled with attachment capability? Because we set&amp;nbsp;AGSGenerateGeodatabaseParameters.returnAttachments = false, I have noticed that the AGSArcGISFeatureTable.hasAttachments is always false even though the feature layer in the feature service is already enabled with attachment...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shimin&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 01:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/questions-about-geodatabase-feature-attachments/m-p/1176272#M7381</guid>
      <dc:creator>ShiminCai</dc:creator>
      <dc:date>2022-05-23T01:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about geodatabase feature attachments</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/questions-about-geodatabase-feature-attachments/m-p/1176694#M7385</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We figured it out:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. set&amp;nbsp;AGSGenerateGeodatabaseParameters.returnAttachments = false to not include existing attachments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. set&amp;nbsp;AGSGenerateGeodatabaseParameters&lt;/SPAN&gt;.attachmentSyncDirection = AGSAttachmentSyncDirection.&lt;SPAN&gt;upload.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;AGSArcGISFeatureTable.hasAttachments will be true if the layer in the feature service is enabled&amp;nbsp;with attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then we are able to add attachment to features offline.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shimin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 01:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/questions-about-geodatabase-feature-attachments/m-p/1176694#M7385</guid>
      <dc:creator>ShiminCai</dc:creator>
      <dc:date>2022-05-24T01:49:39Z</dc:date>
    </item>
  </channel>
</rss>

