<?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: How can you get a table object from the active table pane? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184495#M8264</link>
    <description>&lt;P&gt;Cast the pane to ITablePane. From ITablePane get its MapMember. The MapMember will either be a layer or a standalone table.&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic18696.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic18696.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are wanting to get the currently selected (standalone) table from the contents view instead you can use MapView.Active.GetSelectedStandaloneTables()&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11959.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11959.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 22:03:13 GMT</pubDate>
    <dc:creator>CharlesMacleod</dc:creator>
    <dc:date>2022-06-20T22:03:13Z</dc:date>
    <item>
      <title>How can you get a table object from the active table pane?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184461#M8263</link>
      <description>&lt;P&gt;We are trying to build a tool which manipulates rows in the active table pane.&amp;nbsp; &amp;nbsp;Normally, I would use the&amp;nbsp;MapView.Active.Map pattern to access the Table, but I cannot find a method for the active table.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;ProApp.Panes.ActivePane.InstanceID method returns ArcGIS.Desktop.Editing.TablePaneViewModel, but I cannot get the table object from the view model to pass to my other code.&lt;/P&gt;&lt;P&gt;What is the best way to access the active table in a project as an object?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 20:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184461#M8263</guid>
      <dc:creator>JohnPhillipsGeo</dc:creator>
      <dc:date>2022-06-20T20:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can you get a table object from the active table pane?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184495#M8264</link>
      <description>&lt;P&gt;Cast the pane to ITablePane. From ITablePane get its MapMember. The MapMember will either be a layer or a standalone table.&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic18696.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic18696.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are wanting to get the currently selected (standalone) table from the contents view instead you can use MapView.Active.GetSelectedStandaloneTables()&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11959.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic11959.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 22:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184495#M8264</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2022-06-20T22:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can you get a table object from the active table pane?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184665#M8267</link>
      <description>&lt;P&gt;Charles,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&amp;nbsp; That is exactly what we need!&amp;nbsp; By casting the active table's view model to a ITablePane and then getting its map member, we then gain access to the table's methods.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ITablePane pane;&lt;BR /&gt;pane = (ITablePane)ProApp.Panes.ActivePane;&lt;BR /&gt;MapMember mm = pane.MapMember;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 14:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-you-get-a-table-object-from-the-active/m-p/1184665#M8267</guid>
      <dc:creator>JohnPhillipsGeo</dc:creator>
      <dc:date>2022-06-21T14:28:31Z</dc:date>
    </item>
  </channel>
</rss>

