<?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: TableControl GetSeletedObjectIds in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803384#M2052</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/90685"&gt;Narelle Chedzey&lt;/A&gt;‌, you are right as well. I tested it on 2.4.2 and it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2019 02:33:17 GMT</pubDate>
    <dc:creator>VictorTey</dc:creator>
    <dc:date>2019-10-07T02:33:17Z</dc:date>
    <item>
      <title>TableControl GetSeletedObjectIds</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803381#M2049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anyone advise on what is the the proper way to call GetSeletedObjectIds on TableControl. Following the guide on the link below, I have attempted to run GetSeletedObjectIds on both&amp;nbsp;TableControlDockpaneViewModel and&amp;nbsp;TableControlDockpaneView in QueueTask.run. Both resulted in throwing an exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;""The calling thread cannot access this object because a different thread owns it"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-TableControl" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-TableControl" rel="nofollow noopener noreferrer" target="_blank"&gt;ProGuide TableControl · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;_addToMapCommand &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    _addToMapCommand &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;RelayCommand&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
                    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            
                        QueuedTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Run&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
                        &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                            &lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;
                            &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                                &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; test &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; _tableControl&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetSeletedObjectIds&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToString&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;catch&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Exception e&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                            &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                                &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
                            &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

                    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803381#M2049</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2021-12-12T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: TableControl GetSeletedObjectIds</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803382#M2050</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/327767"&gt;Victor Tey&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Unfortunately, this is still not available in 2.4 version of ArcGIS Pro SDK.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461009_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;For more information refer to the link below:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-TableControl" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-TableControl"&gt;ProGuide TableControl · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 07:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803382#M2050</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2019-10-03T07:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: TableControl GetSeletedObjectIds</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803383#M2051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually the exceptions on GetAllObjectIDs, GetSelectedObjectIDs, GetSelectedRowIndexes and Select methods should have been fixed in ArcGIS Pro 2.3.2.&amp;nbsp; &amp;nbsp; These methods should also work correctly in ArcGIS Pro 2.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using ArcGIS Pro 2.3,&amp;nbsp;please upgrade to the latest service pack.&amp;nbsp; It is currently Pro 2.3.3 I believe.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are still seeing these errors using Pro 2.3.2 or above please post and so that we can&amp;nbsp;investigate further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narelle&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 21:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803383#M2051</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2019-10-04T21:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: TableControl GetSeletedObjectIds</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803384#M2052</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/90685"&gt;Narelle Chedzey&lt;/A&gt;‌, you are right as well. I tested it on 2.4.2 and it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 02:33:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/tablecontrol-getseletedobjectids/m-p/803384#M2052</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2019-10-07T02:33:17Z</dc:date>
    </item>
  </channel>
</rss>

