<?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: Attribute value of Related feature is Incorrect in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105551#M1042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/314085"&gt;Muruganandham Kuppan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_arc_g_i_s_feature.html#a74d98d0c6f93c9e27548073cf66fda51"&gt;here&lt;/A&gt; has some specific requirements&amp;nbsp;for ensuring the relationship is written and committed properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're meeting those and are still seeing this issue,&amp;nbsp;it might be best for you to open a support ticket. It's hard to tell from just the info provided above without more context, and support will be able to dig into that with you more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2018 19:49:07 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2018-07-23T19:49:07Z</dc:date>
    <item>
      <title>Attribute value of Related feature is Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105548#M1039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a related feature for a feature. I got the following error while trying to &lt;STRONG&gt;add&lt;/STRONG&gt; the related feature to the related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;error: OriginalFeatureID has an incorrect value. Encountered on feature with ID of -9223372036854775808.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG style="font-weight: 400;"&gt;here the code to relate the feature with the related feature&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;[relatedFeature&amp;nbsp;&lt;SPAN class=""&gt;relateToFeature: (&lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSArcGISFeature&lt;/SPAN&gt;*)data.originalFeature];&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;OriginalFeatureID's&lt;/STRONG&gt; value is automatically assigned to the related feature attribute after calling &lt;STRONG&gt;relateToFeature:&amp;nbsp;&lt;/STRONG&gt;method&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;I have commented "&lt;STRONG&gt;relateToFeature&lt;/STRONG&gt;" and added the OriginalFeatureID Manually at related feature creation, as&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;NSNumber&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;numberWithLongLong&lt;SPAN class=""&gt;:123456];.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;Same error occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 12:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105548#M1039</guid>
      <dc:creator>MuruganandhamKuppan1</dc:creator>
      <dc:date>2018-07-02T12:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute value of Related feature is Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105549#M1040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was the&amp;nbsp;feature you're relating to created and added in code (as opposed to&amp;nbsp;being retrieved from a query)? If so, have&amp;nbsp;you called refreshObjectID on it after the&amp;nbsp;add completed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105549#M1040</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2018-07-06T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute value of Related feature is Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105550#M1041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick, yes. I called '&lt;SPAN style="background-color: #ffffff;"&gt;refreshObjectID' and can able to get the objectID of original feature. The&amp;nbsp;value of&amp;nbsp;ObjectID is assigned to "&lt;STRONG style="border: 0px; font-weight: bold;"&gt;OriginalFeatureID"&lt;/STRONG&gt; of related feature's attribute.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105550#M1041</guid>
      <dc:creator>MuruganandhamKuppan1</dc:creator>
      <dc:date>2018-07-18T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute value of Related feature is Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105551#M1042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/314085"&gt;Muruganandham Kuppan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_arc_g_i_s_feature.html#a74d98d0c6f93c9e27548073cf66fda51"&gt;here&lt;/A&gt; has some specific requirements&amp;nbsp;for ensuring the relationship is written and committed properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're meeting those and are still seeing this issue,&amp;nbsp;it might be best for you to open a support ticket. It's hard to tell from just the info provided above without more context, and support will be able to dig into that with you more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 19:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105551#M1042</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2018-07-23T19:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute value of Related feature is Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105552#M1043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/2201"&gt;Nicholas Furness&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here what i did,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;before&lt;/STRONG&gt;: (as in Github sample code),&lt;/P&gt;&lt;P&gt;relatedTable.createFeatureWithAttributes&amp;nbsp; -&amp;gt;&amp;nbsp; relatedFeature.&lt;SPAN&gt;relateToFeature&amp;nbsp; -&amp;gt;&amp;nbsp; &lt;STRONG&gt;relatedTable.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;addFeature&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;IMG class="image-1 jive-image" height="404" src="https://community.esri.com/legacyfs/online/414953_pastedImage_11.png" width="681" /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;I don't have any idea why it was not working for me or in Objective-C. Its Strange.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;after&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;&lt;P class="" style="padding: 0px;"&gt;relatedTable.createFeatureWithAttributes -&amp;gt;&amp;nbsp; &lt;STRONG&gt;relatedTable.addFeature&lt;/STRONG&gt;&amp;nbsp; -&amp;gt;&amp;nbsp; relatedFeature.&lt;SPAN&gt;relateToFeature&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding: 0px;"&gt;&lt;/P&gt;&lt;P class="" style="padding: 0px;"&gt;&lt;SPAN&gt;Now the&amp;nbsp;related&amp;nbsp;feature is added to actual feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 13:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/attribute-value-of-related-feature-is-incorrect/m-p/105552#M1043</guid>
      <dc:creator>MuruganandhamKuppan1</dc:creator>
      <dc:date>2018-07-24T13:39:40Z</dc:date>
    </item>
  </channel>
</rss>

