<?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 Modify Collector attachments from Android in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155607#M1754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to develop Android application manipulating geodatabase (SDE).&amp;nbsp;Application needs&amp;nbsp;to read/modify attachments gathered by "Collector" (photos) and modify additional feature attributes. The geodatabase is on MSSQL Server Express hosted inside our company (on-premises). This geodatabase contains our own data in custom attributes. So far, I was accessing this database directly (using ADO.NET) from Windows desktop applications without usage of any ESRI API or ESRI libraries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1) What is the preferred technology for this application:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcObjects SDK&lt;/LI&gt;&lt;LI&gt;ArcGIS Runtime SDK for .NET (with Xamarin.Android)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS Runtime SDK for&amp;nbsp;Android&lt;/SPAN&gt;&lt;A href="mailto:.@)"&gt;.&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;2) I see in the database how Collector attachments are connected to feature class (using AttachmentID), but I would like to make more "legal", API access to them. Can somebody point me to documentation/training/samples where I can&amp;nbsp;study API manipulating Attachments and how to modify SDE geodatabase from Android?&amp;nbsp;I am new to ESRI API and would like your help to show me where to start ESRI API education to achieve the above goal.&lt;/P&gt;&lt;P&gt;3) Is "Essentials Developer Subsciption" enough for this task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Waldek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 15:00:38 GMT</pubDate>
    <dc:creator>WaldemarNowak</dc:creator>
    <dc:date>2018-05-17T15:00:38Z</dc:date>
    <item>
      <title>Modify Collector attachments from Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155607#M1754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to develop Android application manipulating geodatabase (SDE).&amp;nbsp;Application needs&amp;nbsp;to read/modify attachments gathered by "Collector" (photos) and modify additional feature attributes. The geodatabase is on MSSQL Server Express hosted inside our company (on-premises). This geodatabase contains our own data in custom attributes. So far, I was accessing this database directly (using ADO.NET) from Windows desktop applications without usage of any ESRI API or ESRI libraries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1) What is the preferred technology for this application:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcObjects SDK&lt;/LI&gt;&lt;LI&gt;ArcGIS Runtime SDK for .NET (with Xamarin.Android)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS Runtime SDK for&amp;nbsp;Android&lt;/SPAN&gt;&lt;A href="mailto:.@)"&gt;.&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;2) I see in the database how Collector attachments are connected to feature class (using AttachmentID), but I would like to make more "legal", API access to them. Can somebody point me to documentation/training/samples where I can&amp;nbsp;study API manipulating Attachments and how to modify SDE geodatabase from Android?&amp;nbsp;I am new to ESRI API and would like your help to show me where to start ESRI API education to achieve the above goal.&lt;/P&gt;&lt;P&gt;3) Is "Essentials Developer Subsciption" enough for this task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Waldek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 15:00:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155607#M1754</guid>
      <dc:creator>WaldemarNowak</dc:creator>
      <dc:date>2018-05-17T15:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Collector attachments from Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155608#M1755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While it's probably technically possible to modify the backing data directly, I'd advice heavily against it, as there's some finicky database relationships behind a feature server. Attachments should be edited via a feature service endpoint to ensure data consistency.&lt;/P&gt;&lt;P&gt;So you would be using the ServiceFeatureTable class to connect to that feature service, query its features, and there's then attachment operations on these features (this is also what the Collector apps are doing).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 16:21:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155608#M1755</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-05-17T16:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Collector attachments from Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155609#M1756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Morten for the response. I can can create&amp;nbsp;&lt;EM&gt;ServiceFeatureTable&lt;/EM&gt;:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ServiceFeatureTable table = new ServiceFeatureTable(uri);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The documentation describes working with attachemtns:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/net/10-2/desktop/guide/work-with-feature-attachments.htm"&gt;https://developers.arcgis.com/net/10-2/desktop/guide/work-with-feature-attachments.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and API reference describes function &lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;EM&gt;QueryAttachmentsAsync&lt;/EM&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/net/10-2/desktop/api-reference/html/M_Esri_ArcGISRuntime_Data_ArcGISFeatureTable_QueryAttachmentsAsync.htm"&gt;https://developers.arcgis.com/net/10-2/desktop/api-reference/html/M_Esri_ArcGISRuntime_Data_ArcGISFeatureTable_QueryAttachmentsAsync.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However&amp;nbsp;Esri.ArcGISRuntime.dll in version 100.2.1.0 &lt;SPAN style="text-decoration: underline;"&gt;does not&lt;/SPAN&gt; contain this function.&lt;/P&gt;&lt;P&gt;Compile error:&lt;/P&gt;&lt;PRE __default_attr="warning" __jive_macro_name="alert" alert="warning" class="jive_text_macro jive_macro_alert"&gt;&lt;P&gt;'ServiceFeatureTable' does not contain a definition for 'QueryAttachmentsAsync'&amp;nbsp;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;I have reinstalled&amp;nbsp;ArcGIS_Runtime_SDK_DotNet_100_2_1.vsix and it did not help. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 17:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155609#M1756</guid>
      <dc:creator>WaldemarNowak</dc:creator>
      <dc:date>2018-05-25T17:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Collector attachments from Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155610#M1757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The method is on the ArcGISFeature: GetAttachmentsAsync.&lt;/P&gt;&lt;P&gt;So you'd first query for the feature you're interested in, then call GetAttachmentsAsync on it. It also has the methods for add, update and delete attachments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 20:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155610#M1757</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-05-25T20:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Collector attachments from Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155611#M1758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...btw I just realized you're looking at the old 10.x API Documentation.&lt;/P&gt;&lt;P&gt;Here's the correct documentation:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/T_Esri_ArcGISRuntime_Data_ArcGISFeature.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/T_Esri_ArcGISRuntime_Data_ArcGISFeature.htm"&gt;ArcGISFeature Class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 20:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/modify-collector-attachments-from-android/m-p/155611#M1758</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-05-25T20:04:32Z</dc:date>
    </item>
  </channel>
</rss>

