<?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 Question with AGSFeatureTable and AGSFeature IOS SDK in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/question-with-agsfeaturetable-and-agsfeature-ios/m-p/799#M1</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Hi Everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I'm completely new here and i hope anybody can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I have create a Feature Service and was able to connect to it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I try to create a AGSFeature and add it to a AGSFeatureTable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I use for this the function "saveFeature" from AGSFeatureTable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;///////////////////////////&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My Code :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #703daa;"&gt;AGSGDBFeatureTable&lt;/SPAN&gt; *localFeatureTable = [geodatabase &lt;SPAN style="color: #3d1d81;"&gt;featureTableForLayerID&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN aria-label="Sad" class="emoticon_sad emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #272ad8;"&gt;0&lt;/SPAN&gt;)];&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;AGSSpatialReference&lt;SPAN style="color: #000000;"&gt; *srp = [&lt;/SPAN&gt;AGSSpatialReference&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;spatialReferenceWithWKID&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #272ad8;"&gt;102100&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo; color: #703daa;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *point = [[&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;alloc&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;initWithX:(&lt;SPAN style="color: #272ad8;"&gt;868819.000&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;y:(&lt;SPAN style="color: #272ad8;"&gt;6352269.000&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;spatialReference&lt;SPAN style="color: #000000;"&gt;:(srp)];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #703daa;"&gt;AGSGDBFeature&lt;/SPAN&gt; *pointFeature = [[&lt;SPAN style="color: #703daa;"&gt;AGSGDBFeature&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;] &lt;SPAN style="color: #3d1d81;"&gt;initWithTable&lt;/SPAN&gt;:(localFeatureTable)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[pointFeature &lt;SPAN style="color: #3d1d81;"&gt;setGeometry&lt;/SPAN&gt;:(point)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;// I only have one Attribute &lt;/SPAN&gt;&lt;SPAN style="line-height: 20px; font-family: arial, helvetica, sans-serif;"&gt;for the Point FeatureTable&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt; in my Feature Service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;[pointFeature &lt;/SPAN&gt;setAttributeWithString:(&lt;SPAN style="color: #d12f1b;"&gt;@"Test"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;forKey:(&lt;SPAN style="color: #d12f1b;"&gt;@"Name"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #703daa;"&gt;NSError&lt;/SPAN&gt; *error;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[localFeatureTable &lt;SPAN style="color: #3d1d81;"&gt;saveFeature&lt;/SPAN&gt;:(pointFeature) &lt;SPAN style="color: #3d1d81;"&gt;error&lt;/SPAN&gt;:(&amp;amp;error)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@ saveFeature a error appears:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;terminating with uncaught exception of type std::__1::shared_ptr&amp;lt;Esri_runtimecore::Common::Exception&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what i did wrong and how i can detect the error.&lt;/P&gt;&lt;P&gt;Hopefully anybody could help me !&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Christian Eitel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 08:39:21 GMT</pubDate>
    <dc:creator>ChristianEitel</dc:creator>
    <dc:date>2014-09-29T08:39:21Z</dc:date>
    <item>
      <title>Question with AGSFeatureTable and AGSFeature IOS SDK</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/question-with-agsfeaturetable-and-agsfeature-ios/m-p/799#M1</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Hi Everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I'm completely new here and i hope anybody can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I have create a Feature Service and was able to connect to it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I try to create a AGSFeature and add it to a AGSFeatureTable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I use for this the function "saveFeature" from AGSFeatureTable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;///////////////////////////&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My Code :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #703daa;"&gt;AGSGDBFeatureTable&lt;/SPAN&gt; *localFeatureTable = [geodatabase &lt;SPAN style="color: #3d1d81;"&gt;featureTableForLayerID&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN aria-label="Sad" class="emoticon_sad emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #272ad8;"&gt;0&lt;/SPAN&gt;)];&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;AGSSpatialReference&lt;SPAN style="color: #000000;"&gt; *srp = [&lt;/SPAN&gt;AGSSpatialReference&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;spatialReferenceWithWKID&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #272ad8;"&gt;102100&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo; color: #703daa;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; *point = [[&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;AGSPoint&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;alloc&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;initWithX:(&lt;SPAN style="color: #272ad8;"&gt;868819.000&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;y:(&lt;SPAN style="color: #272ad8;"&gt;6352269.000&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;spatialReference&lt;SPAN style="color: #000000;"&gt;:(srp)];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #703daa;"&gt;AGSGDBFeature&lt;/SPAN&gt; *pointFeature = [[&lt;SPAN style="color: #703daa;"&gt;AGSGDBFeature&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;] &lt;SPAN style="color: #3d1d81;"&gt;initWithTable&lt;/SPAN&gt;:(localFeatureTable)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[pointFeature &lt;SPAN style="color: #3d1d81;"&gt;setGeometry&lt;/SPAN&gt;:(point)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;// I only have one Attribute &lt;/SPAN&gt;&lt;SPAN style="line-height: 20px; font-family: arial, helvetica, sans-serif;"&gt;for the Point FeatureTable&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt; in my Feature Service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;[pointFeature &lt;/SPAN&gt;setAttributeWithString:(&lt;SPAN style="color: #d12f1b;"&gt;@"Test"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;forKey:(&lt;SPAN style="color: #d12f1b;"&gt;@"Name"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #703daa;"&gt;NSError&lt;/SPAN&gt; *error;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-size: 16px; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-size: 16px; font-family: Menlo;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[localFeatureTable &lt;SPAN style="color: #3d1d81;"&gt;saveFeature&lt;/SPAN&gt;:(pointFeature) &lt;SPAN style="color: #3d1d81;"&gt;error&lt;/SPAN&gt;:(&amp;amp;error)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@ saveFeature a error appears:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;terminating with uncaught exception of type std::__1::shared_ptr&amp;lt;Esri_runtimecore::Common::Exception&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what i did wrong and how i can detect the error.&lt;/P&gt;&lt;P&gt;Hopefully anybody could help me !&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Christian Eitel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:39:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/question-with-agsfeaturetable-and-agsfeature-ios/m-p/799#M1</guid>
      <dc:creator>ChristianEitel</dc:creator>
      <dc:date>2014-09-29T08:39:21Z</dc:date>
    </item>
  </channel>
</rss>

