<?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 update table pane after selection in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763743#M336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to select records with QueryFilter ont Table.&lt;/P&gt;&lt;P&gt;I think selection operation is ok. But why the current Attribute Table on ArcGIS Pro Pane is not updated.&lt;/P&gt;&lt;P&gt;It's maybe a common question but i'm novice with the ARGIS Pro SDK.&lt;/P&gt;&lt;P&gt;see code below&amp;nbsp;:&lt;/P&gt;&lt;P&gt;featureLayer = MapView.Active?.Map.GetLayersAsFlattenedList().OfType&amp;lt;FeatureLayer&amp;gt;().FirstOrDefault();&lt;BR /&gt; if (featureLayer == null)&lt;BR /&gt; return;&lt;BR /&gt; await QueuedTask.Run(() =&amp;gt; {&lt;/P&gt;&lt;P&gt;using (Table enterpriseTable = featureLayer.GetTable())&lt;BR /&gt; {&lt;BR /&gt; QueryFilter anotherQueryFilter = new QueryFilter { WhereClause = "state = 1" };&lt;BR /&gt; // If you want to select all the records in a table.&lt;BR /&gt; using (Selection allRecordSelection = enterpriseTable.Select(anotherQueryFilter, SelectionType.ObjectID, SelectionOption.Normal))&lt;BR /&gt; {&lt;BR /&gt; int cnt= allRecordSelection.GetCount();&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2018 02:17:01 GMT</pubDate>
    <dc:creator>ThomasMENARD1</dc:creator>
    <dc:date>2018-12-13T02:17:01Z</dc:date>
    <item>
      <title>update table pane after selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763743#M336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to select records with QueryFilter ont Table.&lt;/P&gt;&lt;P&gt;I think selection operation is ok. But why the current Attribute Table on ArcGIS Pro Pane is not updated.&lt;/P&gt;&lt;P&gt;It's maybe a common question but i'm novice with the ARGIS Pro SDK.&lt;/P&gt;&lt;P&gt;see code below&amp;nbsp;:&lt;/P&gt;&lt;P&gt;featureLayer = MapView.Active?.Map.GetLayersAsFlattenedList().OfType&amp;lt;FeatureLayer&amp;gt;().FirstOrDefault();&lt;BR /&gt; if (featureLayer == null)&lt;BR /&gt; return;&lt;BR /&gt; await QueuedTask.Run(() =&amp;gt; {&lt;/P&gt;&lt;P&gt;using (Table enterpriseTable = featureLayer.GetTable())&lt;BR /&gt; {&lt;BR /&gt; QueryFilter anotherQueryFilter = new QueryFilter { WhereClause = "state = 1" };&lt;BR /&gt; // If you want to select all the records in a table.&lt;BR /&gt; using (Selection allRecordSelection = enterpriseTable.Select(anotherQueryFilter, SelectionType.ObjectID, SelectionOption.Normal))&lt;BR /&gt; {&lt;BR /&gt; int cnt= allRecordSelection.GetCount();&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 02:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763743#M336</guid>
      <dc:creator>ThomasMENARD1</dc:creator>
      <dc:date>2018-12-13T02:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: update table pane after selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763744#M337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;You can do the same select on featureLayer object:&lt;/P&gt;&lt;P&gt;featureLayer.Select(anotherQueryFilter, SelectionCombinationMethod.New);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works in my code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 07:11:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763744#M337</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-12-13T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: update table pane after selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763745#M338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gintautas is correct (you can also use StandaloneTable.Select). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 17:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763745#M338</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-12-13T17:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: update table pane after selection</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763746#M339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thank you all for answer. It's effectively an&amp;nbsp;easy way to select objets on client side.&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;not very familiar&amp;nbsp;to code some process because i want to maximize client interactions.&lt;/P&gt;&lt;P&gt;So, i have a lot of questions again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 05:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-table-pane-after-selection/m-p/763746#M339</guid>
      <dc:creator>ThomasMENARD1</dc:creator>
      <dc:date>2018-12-14T05:24:11Z</dc:date>
    </item>
  </channel>
</rss>

