<?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 Connect Add-in Pane to active map? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774983#M806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am displaying a data grid of custom information in my Pro add-in.&amp;nbsp; I have added this to a pane, however, when this pane is activated, the Contents dock pane is empty until a map view is again set as the active pane.&amp;nbsp; I would like the Contents to remain populated with layers from the active map view, similar to how charts and attribute table panes work.&amp;nbsp; When I add the data grid to a dock pane instead of a ViewStatePane, I do get this behavior, but then I cannot dock this pane to the map view. Is there a way to do this?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Jul 2016 15:46:07 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-07-17T15:46:07Z</dc:date>
    <item>
      <title>Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774983#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am displaying a data grid of custom information in my Pro add-in.&amp;nbsp; I have added this to a pane, however, when this pane is activated, the Contents dock pane is empty until a map view is again set as the active pane.&amp;nbsp; I would like the Contents to remain populated with layers from the active map view, similar to how charts and attribute table panes work.&amp;nbsp; When I add the data grid to a dock pane instead of a ViewStatePane, I do get this behavior, but then I cannot dock this pane to the map view. Is there a way to do this?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2016 15:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774983#M806</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-07-17T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774984#M807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dockpane is the correct way to go. The best you can do on the docking is dock to the application window (left, right, top, bottom) - it does not support docking to a Pane (map, layout, etc) as you mention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conceptually, Pro has an Active pane (the one with focus). The TOC (amongst other things) keys off this and changes its contents to match whichever pane is active. Therefore, when you try to use a Pane (and not a ~dock~ pane), even though you get the docking behavior you want, activating your Pane de-activates the previously active pane (eg a map) and the TOC, seeing that ~your~ pane is not a mapview, it empties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are special cases in Pro where the context needs to be maintained even though a MapView does not have focus. For example, if you open a layer attribute table the TOC remains unchanged and the MapView.Active property is still valid. In this case, the table pane instance (hosting the attribute table) is providing the proper context to the TOC (for the mapview that contains the layer whose attributes are being shown) to keep the TOC populated. However, the code to do that is all internal and is not exposed in the API. Currently there are no plans to support this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 22:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774984#M807</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2016-07-28T22:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774985#M808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a need for using custom panes connected to the map view like the attribute table is already doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 13:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774985#M808</guid>
      <dc:creator>Jan-Tschada</dc:creator>
      <dc:date>2016-11-07T13:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774986#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan, &lt;/P&gt;&lt;P&gt;&amp;nbsp;I updated the Layer Pane sample which I think does what you need: &lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/LayersPane"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/LayersPane&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;Can you check the sample and see if it satisfies your workflow needs?&lt;BR /&gt;&lt;IMG alt="Layer Pane sample" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/259206_layersPane.png" style="width: 620px; height: 516px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774986#M809</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2016-11-07T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774987#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolfgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I pulled your changes from the last commit "Simplified code to manage DataGrid control", but I cannot see any major changes to the view model acting as a view pane. Would you be so kind and validate if you pushed&amp;nbsp;the changes you made&amp;nbsp;to the public repository or maybe it is just committed to your local one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774987#M810</guid>
      <dc:creator>Jan-Tschada</dc:creator>
      <dc:date>2016-11-14T22:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774988#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan, &lt;/P&gt;&lt;P&gt;&amp;nbsp;I&amp;nbsp;misunderstood the original question, even with the updated sample the 'Contents' dockpane's TOC&amp;nbsp;is 'emptied' when the 'Pane' is activated.&amp;nbsp; Sorry about the confusion.&amp;nbsp;So Charlie's answer from above stands: currently this feature is not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Layer Pane sample" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/265622_Untitled.png" style="width: 620px; height: 421px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 23:35:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774988#M811</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2016-11-17T23:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774989#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We will look at supporting this for next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 23:54:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774989#M812</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2016-11-17T23:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774990#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an update to this issue? &amp;nbsp;I am using the Pro SDK 1.4.1 and just want to programmatically open (show) the attribute table from a standalone table listed in the TOC. &amp;nbsp;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 20:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774990#M813</guid>
      <dc:creator>JodiLuostarinen</dc:creator>
      <dc:date>2017-05-24T20:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774991#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be possible with the 2.0 release of the Pro SDK. &amp;nbsp;We anticipate 2.0 to be released end of June. &amp;nbsp;There will be&amp;nbsp;a new Visual Studio item template that can be used to create a pane that is linked to an active map. &amp;nbsp;When 2.0 is released, there will be Pro SDK Samples and guides to help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, you could download the ArcGIS Pro 2.0 Beta to experiment with this functionality to get ready for the final release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 20:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774991#M814</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2017-05-24T20:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774992#M815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the quick reply and update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jodi Luostarinen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CEO Quartic Solutions&lt;/P&gt;&lt;P&gt;1804 Garnet Ave. #447&lt;/P&gt;&lt;P&gt;San Diego, CA 92109&lt;/P&gt;&lt;P&gt;mobile: (619) 602-7606&lt;/P&gt;&lt;P&gt;www.quarticsolutions.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 20:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774992#M815</guid>
      <dc:creator>JodiLuostarinen</dc:creator>
      <dc:date>2017-05-24T20:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774993#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR clear="none" style="color: #222222; background-color: #ffffff; font-size: 12.8px;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;ESRI Response to Question on 7/5/2007:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;I have heard back from additional resources on this issue and currently there is no control for a table in ArcGIS Pro 2.0 SDK.&amp;nbsp;Therefore, to implement your own pane with an attribute table, you would have to create your own with a data grid and pass that to the content property in the DAML. Alternatively, you can use the sample from GitHub that creates its own data grid and displays the attribute table with the needed fields in a new pane:&amp;nbsp;&lt;/SPAN&gt;&lt;A data-saferedirecturl="https://www.google.com/url?hl=en&amp;amp;q=https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/LayersPane&amp;amp;source=gmail&amp;amp;ust=1499377593735000&amp;amp;usg=AFQjCNGL_RMzpwizGKT_BnNz_aDRds6bcA" href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/LayersPane" style="color: #1155cc; background-color: #ffffff; font-size: 12.8px;" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/LayersPane&lt;/A&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 12.8px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;This can be implemented in an ArcGIS Pro Map Pane Impersonation from the templates via ArcGIS Pro 2.0 SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 21:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774993#M816</guid>
      <dc:creator>JodiLuostarinen</dc:creator>
      <dc:date>2017-07-05T21:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774994#M817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any easy way to show the attribute table when clicking a button for a specific table? I know which layer I want the attribute table to show for.&lt;/P&gt;&lt;P&gt;I basically want to replicate, the right click and "Show Attribute Table" function and it is already open within my map.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 13:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774994#M817</guid>
      <dc:creator>SamanthaHughes1</dc:creator>
      <dc:date>2017-07-18T13:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774995#M818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is just a thought, but have you looked-up the DAML id for the open&lt;/P&gt;&lt;P&gt;attribute table tool, and tried something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Select From Map&lt;/P&gt;&lt;P&gt;            // System.Windows.Input.ICommand cmd =&lt;/P&gt;&lt;P&gt;FrameworkApplication.GetPlugInWrapper("esri_mapping_selectByRectangleTool")&lt;/P&gt;&lt;P&gt;as ICommand;&lt;/P&gt;&lt;P&gt;            //if ((cmd != null) &amp;amp;&amp;amp; cmd.CanExecute(null))&lt;/P&gt;&lt;P&gt;            //    cmd.Execute(null);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jodi Luostarinen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CEO Quartic Solutions&lt;/P&gt;&lt;P&gt;1804 Garnet Ave. #447&lt;/P&gt;&lt;P&gt;San Diego, CA 92109&lt;/P&gt;&lt;P&gt;mobile: (619) 602-7606&lt;/P&gt;&lt;P&gt;www.quarticsolutions.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 16:31:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774995#M818</guid>
      <dc:creator>JodiLuostarinen</dc:creator>
      <dc:date>2017-07-18T16:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774996#M819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jodi is correct this code snippet below opens the attribute table for the current select feature layer in the Content Dockpane:&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;protected&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;override&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;OnClick&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;var&lt;/SPAN&gt; cmdOpenAttributeTable &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetPlugInWrapper&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri_editing_table_openTablePaneButton"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ICommand&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cmdOpenAttributeTable &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;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cmdOpenAttributeTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CanExecute&lt;/SPAN&gt;&lt;SPAN class="punctuation 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;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; cmdOpenAttributeTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Execute&lt;/SPAN&gt;&lt;SPAN class="punctuation 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;
&amp;nbsp; &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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DAML Ids for built-in commands are listed here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ArcGIS-Pro-DAML-ID-Reference" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ArcGIS-Pro-DAML-ID-Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in order to select a feature layer in the TOC you can use the snippet below:&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapExploration#select-all-feature-layers-in-toc" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapExploration#select-all-feature-layers-in-toc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put the two snippets together you get the following solution which opens the attribute tables for all feature layers:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;protected&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;override&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;OnClick&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;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//Get the active map view.&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; mapView &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Desktop&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Active&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mapView &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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//Zoom to the selected layers in the TOC&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; featureLayers &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Layers&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;OfType&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;FeatureLayer&lt;SPAN class="operator token"&gt;&amp;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;
&amp;nbsp;&amp;nbsp;&amp;nbsp; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;SelectLayers&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureLayers&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToList&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;


&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; cmdOpenAttributeTable &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetPlugInWrapper&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri_editing_table_openTablePaneButton"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; ICommand&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cmdOpenAttributeTable &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;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cmdOpenAttributeTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CanExecute&lt;/SPAN&gt;&lt;SPAN class="punctuation 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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmdOpenAttributeTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Execute&lt;/SPAN&gt;&lt;SPAN class="punctuation 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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:41:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774996#M819</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-12-12T08:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774997#M820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Wolfgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seem to have the strangest error when running this, the attribute table opens up but then get an exception related to the width of the window and it all crashes out before the data within the window completely opens. I am going to wait until I am back in work tomorrow to try again before I completely go nuts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I almost got there. Thank you very much for pointing out the DAMLs - I have now found the reference page. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vb version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Dim cmdOpenAttributeTable As ICommand = FrameworkApplication.GetPlugInWrapper("esri_editing_table_openTablePaneButton")&lt;BR /&gt;cmdOpenAttributeTable.Execute(Nothing)&lt;BR /&gt;&lt;BR /&gt; Catch&lt;/P&gt;&lt;P&gt;MessageBox.Show("Error Opening Attribute Table")&lt;BR /&gt; End Try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 21:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774997#M820</guid>
      <dc:creator>SamanthaHughes1</dc:creator>
      <dc:date>2017-07-19T21:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774998#M821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/363712_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Wolf, have you ever seen this error before? (My code below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim cmdOpenAttributeTable As ICommand = FrameworkApplication.GetPlugInWrapper("esri_editing_table_openTablePaneButton")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If cmdOpenAttributeTable IsNot Nothing Then&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;If (cmdOpenAttributeTable.CanExecute(Nothing)) Then&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cmdOpenAttributeTable.Execute(Nothing)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;End If&lt;BR /&gt; End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error appears after opening the attribute table before the data has loaded. Is it a bug? I have read that it could be down to screen resolution but struggling to resolve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 09:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774998#M821</guid>
      <dc:creator>SamanthaHughes1</dc:creator>
      <dc:date>2017-07-21T09:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774999#M822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your code snippet (in VB) and didn't get any errors. &amp;nbsp; Are you able to open the Attribute tables from within ArcGIS Pro?&amp;nbsp; If not it's probably a good idea to refresh your display device drivers to the latest available version.&amp;nbsp; However, if it works from within Pro I would first look and make sure there are NO other add-ins running at the time.&amp;nbsp; To check you can delete all files from the well-known add-ins location, or when you open Pro you can click on 'About ArcGIS Pro' and then use the add-in manager to remove all existing add-ins.&amp;nbsp; Then I would recompile the sample and try again.&amp;nbsp; It is possible that the error you see is getting thrown by another add-in that is still running without your knowledge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 14:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/774999#M822</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2017-07-21T14:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Add-in Pane to active map?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/775000#M823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolf,&lt;/P&gt;&lt;P&gt;Thanks for testing my code and reassuring me that there is nothing wrong with it. I am tried all the above, and I am unable to automate opening an attribute table.&lt;/P&gt;&lt;P&gt;I have refreshed my display drivers too even though I can open an attribute table directly in Pro and removed all the addins from my add-in manager menu.&lt;/P&gt;&lt;P&gt;Bit random ey? I have emailed in so hopefully someone will have some more ideas for me to try.&lt;/P&gt;&lt;P&gt;Just wanted to say thanks for some great ideas to debug.&lt;/P&gt;&lt;P&gt;S*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connect-add-in-pane-to-active-map/m-p/775000#M823</guid>
      <dc:creator>SamanthaHughes2</dc:creator>
      <dc:date>2017-07-26T13:58:06Z</dc:date>
    </item>
  </channel>
</rss>

