<?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 GetRowsRelatedToOriginRows returns Rows instead of Features in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/832806#M3392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I make a call to &lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic7574.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic7574.html"&gt;GetRowsRelatedToOriginRows&lt;/A&gt; on a relationshipclass, where the destination class is a FeatureClass (not a Table), I get a list of Row objects. I would expect I could cast these to Feature objects, but then I get an InvalidCastException.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;EM&gt;can&lt;/EM&gt; cast row,GetTable() to a FeatureClass, so I'm positive I am looking at the correct table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I overlooking something? Or should I make an additional request to get the actual Features instead of Rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 09:08:06 GMT</pubDate>
    <dc:creator>BerendVeldkamp</dc:creator>
    <dc:date>2018-05-23T09:08:06Z</dc:date>
    <item>
      <title>GetRowsRelatedToOriginRows returns Rows instead of Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/832806#M3392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I make a call to &lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic7574.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic7574.html"&gt;GetRowsRelatedToOriginRows&lt;/A&gt; on a relationshipclass, where the destination class is a FeatureClass (not a Table), I get a list of Row objects. I would expect I could cast these to Feature objects, but then I get an InvalidCastException.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;EM&gt;can&lt;/EM&gt; cast row,GetTable() to a FeatureClass, so I'm positive I am looking at the correct table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I overlooking something? Or should I make an additional request to get the actual Features instead of Rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 09:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/832806#M3392</guid>
      <dc:creator>BerendVeldkamp</dc:creator>
      <dc:date>2018-05-23T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: GetRowsRelatedToOriginRows returns Rows instead of Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/832807#M3393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Berend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've confirmed that this is a bug in the Pro SDK. &amp;nbsp;The workaround for now would be to refetch the features using the object IDs from the rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is too late in the Pro 2.2 development cycle for us to fix it in that release, but we will target a fix for 2.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 19:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/832807#M3393</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-05-25T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: GetRowsRelatedToOriginRows returns Rows instead of Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/1167678#M8067</link>
      <description>&lt;P&gt;Looks like it's still a bug. I use ArcGis 2.9 and I have the same problem.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 19:21:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getrowsrelatedtooriginrows-returns-rows-instead-of/m-p/1167678#M8067</guid>
      <dc:creator>PierreMasson</dc:creator>
      <dc:date>2022-04-25T19:21:11Z</dc:date>
    </item>
  </channel>
</rss>

