<?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: offline attachments not sync'd in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711744#M6365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you setting "name" property of the AGSGDBAttachment with file extension? i.e. Photo.jpg? If not, please do it and then try to sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 15:01:31 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2014-06-11T15:01:31Z</dc:date>
    <item>
      <title>offline attachments not sync'd</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711743#M6364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Saving and editing attachments offline seems to work fine in the local geodatabase but anytime the sync process runs it returns an attachment edit error with a non descript error message: &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;The operation couldn???t be completed. (com.esri.arcgis.runtime.error.gdb error 0.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to view a more detailed error? The server logs dont show anything.&amp;nbsp; Attachments can be added with desktop and via the rest API and they will sync down to the device.&amp;nbsp; The new/updated feature is sync'd fine as well, just without attachment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm creating attachments like this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;[AGSGDBAttachment attachmentWithUIImagePickerControllerInfoDictionary:info completion:^(AGSGDBAttachment *attachment) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.feature addAttachment:attachment]; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.tableView reloadData]; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self dismissViewControllerAnimated:YES completion:nil]; &amp;nbsp;&amp;nbsp;&amp;nbsp; }];&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then saving with [self.gdbFeatureTable saveFeature:self.feature error:&amp;amp;err] later when the form is completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine locally on the device.&amp;nbsp; I can get a thumbnail and view the fullsize image, etc.&amp;nbsp; the only problem is sync'ing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas what to look into? I've checked all the sync parameters and everything looks like it should allow attachments. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 09:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711743#M6364</guid>
      <dc:creator>MattCooper</dc:creator>
      <dc:date>2014-06-11T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: offline attachments not sync'd</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711744#M6365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you setting "name" property of the AGSGDBAttachment with file extension? i.e. Photo.jpg? If not, please do it and then try to sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 15:01:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711744#M6365</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2014-06-11T15:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: offline attachments not sync'd</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711745#M6366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That did the trick.&amp;nbsp; Seems so obvious now, but not at 2AM!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 17:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/offline-attachments-not-sync-d/m-p/711745#M6366</guid>
      <dc:creator>MattCooper</dc:creator>
      <dc:date>2014-06-11T17:23:01Z</dc:date>
    </item>
  </channel>
</rss>

