<?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: Add context menu entries to selected objects in the the Attribute pane in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034305#M6317</link>
    <description>&lt;P&gt;If you check the "show command IDs" in the Options dialog...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_1-1615262909012.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7898i746C7109CBBAB42F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_1-1615262909012.png" alt="KirkKuykendall1_1-1615262909012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... Pro should display the ID of the contextmenu items when you hover on them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_0-1615262812797.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7896i079DAB1DDBA54D03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_0-1615262812797.png" alt="KirkKuykendall1_0-1615262812797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't seem to tell you the contextmenu IDs (I wish it did).&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think you'll be updating esri_mapping_layerContextMenu or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;esri_mapping_standaloneTableContextMenu (for non-spatial).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 04:13:07 GMT</pubDate>
    <dc:creator>KirkKuykendall1</dc:creator>
    <dc:date>2021-03-09T04:13:07Z</dc:date>
    <item>
      <title>Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034265#M6316</link>
      <description>&lt;P&gt;Pro 2.7&lt;/P&gt;&lt;P&gt;I'm looking to add new context menus when a user right clicks on a selected feature in the Attributes pane.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArcGIS Pro -  Attribute Pane.jpg" style="width: 452px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7889iCD69DEC6EAE2B102/image-size/large?v=v2&amp;amp;px=999" role="button" title="ArcGIS Pro -  Attribute Pane.jpg" alt="ArcGIS Pro -  Attribute Pane.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The Pro SDK Developer sample, InsertIntoContextMenu, is where I started but I'm getting stuck figuring out the RefID for the objects in the attribute pane.&lt;/P&gt;&lt;P&gt;I've searched the Editing.DAML but I'm not entirely sure what to look for.&lt;/P&gt;&lt;P&gt;I'm working with the Utility Network so the selected features could be either Spatial (red arrow) or Non-spatial (purple arrow) objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on how to find the appropriate RefIDs would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 00:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034265#M6316</guid>
      <dc:creator>MichaelHirschheimer</dc:creator>
      <dc:date>2021-03-09T00:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034305#M6317</link>
      <description>&lt;P&gt;If you check the "show command IDs" in the Options dialog...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_1-1615262909012.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7898i746C7109CBBAB42F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_1-1615262909012.png" alt="KirkKuykendall1_1-1615262909012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... Pro should display the ID of the contextmenu items when you hover on them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KirkKuykendall1_0-1615262812797.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7896i079DAB1DDBA54D03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KirkKuykendall1_0-1615262812797.png" alt="KirkKuykendall1_0-1615262812797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't seem to tell you the contextmenu IDs (I wish it did).&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think you'll be updating esri_mapping_layerContextMenu or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;esri_mapping_standaloneTableContextMenu (for non-spatial).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 04:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034305#M6317</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-03-09T04:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034657#M6319</link>
      <description>&lt;P&gt;Hi Kirk,&lt;/P&gt;&lt;P&gt;I completely agree that the IDs of Context Menus should be displayed when hovering over them.&lt;/P&gt;&lt;P&gt;To find the correct Context Menus, here were my steps.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Got the ID of a button in the context menu&lt;/LI&gt;&lt;LI&gt;Opened the editing.daml file (C:\Program Files\ArcGIS\Pro\bin\Extensions\Editing)&lt;/LI&gt;&lt;LI&gt;Searched for all instances the button ID&lt;/LI&gt;&lt;LI&gt;For each Menu item, I compared the entries to what I was seeing in Pro.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EditingDaml.JPG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7995iF6719A67BAFE5AE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="EditingDaml.JPG" alt="EditingDaml.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found 3 instances where the new context menu item will be useful&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;esri_editing_Attributes_RelatedNonFeatureRowContextMenu&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;esri_editing_Attributes_NonFeatureRowContextMenu&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&amp;nbsp;esri_editing_Attributes_TableContextMenu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll be upadating my Config.daml file later today.&amp;nbsp; Hopefully, this works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 19:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1034657#M6319</guid>
      <dc:creator>MichaelHirschheimer</dc:creator>
      <dc:date>2021-03-09T19:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260009#M9442</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/170922"&gt;@MichaelHirschheimer&lt;/a&gt;&amp;nbsp;can u tell me how u added the menu in the context menu of the attribute pane when clicking on the feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-to-specific-selected-objects-in/td-p/1259997" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-to-specific-selected-objects-in/td-p/1259997&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 11:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260009#M9442</guid>
      <dc:creator>newbiedotnetguy</dc:creator>
      <dc:date>2023-02-21T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260027#M9443</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/629243"&gt;@newbiedotnetguy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at the Pro SDK developer sample, InsertIntoContextMenu. Specifically, the config.daml file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/InsertIntoContextMenu" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/InsertIntoContextMenu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add a custom button to the attribute pane, you'll need to update an existing menu in the module, esri_editing_EditingModule.&amp;nbsp; Here's an example.&amp;nbsp; Hope this helps!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;updateModule refID="esri_editing_EditingModule"&amp;gt;
      &amp;lt;menus&amp;gt;
        &amp;lt;!-- Drill down from the spatial feature to the Non Spatial object for the Context Menu Item to appear  --&amp;gt;
        &amp;lt;updateMenu refID="esri_editing_Attributes_RelatedNonFeatureRowContextMenu"&amp;gt;
          &amp;lt;insertButton refID="InsertIntoContextMenu_Button1" separator="true" placeWith="esri_editing_Attributes_StandaloneTablePropertiesContextMenuItem" /&amp;gt;
        &amp;lt;/updateMenu&amp;gt;
        &amp;lt;!-- 2 Step Process:  1.  The Non Spatial object must be checked in the Attribute Editor
                              2.  A new entry is added at bottom of the Attribute Tree.  
                                    Right Click on that entry for the Context Menu Item to appear  --&amp;gt;
        &amp;lt;updateMenu refID="esri_editing_Attributes_NonFeatureRowContextMenu"&amp;gt;
          &amp;lt;insertButton refID="InsertIntoContextMenu_Button2" separator="true" placeWith="esri_editing_Attributes_StandaloneTablePropertiesContextMenuItem" /&amp;gt;
        &amp;lt;/updateMenu&amp;gt;
        &amp;lt;updateMenu refID="esri_editing_Attributes_FeatureContextMenu"&amp;gt;
          &amp;lt;insertButton refID="InsertIntoContextMenu_Button3" separator="true" placeWith="esri_editing_Attributes_LayerPropertiesContextMenuItem" /&amp;gt;
        &amp;lt;/updateMenu&amp;gt;
      &amp;lt;/menus&amp;gt;
    &amp;lt;/updateModule&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 13:38:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260027#M9443</guid>
      <dc:creator>MichaelHirschheimer</dc:creator>
      <dc:date>2023-02-21T13:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260035#M9444</link>
      <description>&lt;P&gt;Ya I also got the solution. But in your case are u accessing the name of the feature when right clicking on it. Because when I am right clicking on it I want to check for specific feature and then only want to show the menu item. I am able to access the attribute dock pane but not able to get the selection items since it is in private attribute view model class.&lt;/P&gt;&lt;P&gt;var pane = FrameworkApplication.DockPaneManager.Find("esri_editing_AttributesDockPane");&lt;/P&gt;&lt;P&gt;var viewModel = pane as ArcGIS.Desktop.Editing.Attributes.AttributesViewModel; //Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/170922"&gt;@MichaelHirschheimer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 14:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260035#M9444</guid>
      <dc:creator>newbiedotnetguy</dc:creator>
      <dc:date>2023-02-21T14:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260045#M9446</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/629243"&gt;@newbiedotnetguy&lt;/a&gt;&amp;nbsp; &amp;nbsp;If I'm understanding this correctly, you are looking for similar functionality described in this thread:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieve-feature-attributes-from-the-attributes/m-p/1153010#M7913" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieve-feature-attributes-from-the-attributes/m-p/1153010#M7913&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If the answer is yes, I can get a status update on the enhancement request from that thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 14:28:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260045#M9446</guid>
      <dc:creator>MichaelHirschheimer</dc:creator>
      <dc:date>2023-02-21T14:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu entries to selected objects in the the Attribute pane</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260048#M9447</link>
      <description>&lt;P&gt;yes its the same.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 14:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/add-context-menu-entries-to-selected-objects-in/m-p/1260048#M9447</guid>
      <dc:creator>newbiedotnetguy</dc:creator>
      <dc:date>2023-02-21T14:36:24Z</dc:date>
    </item>
  </channel>
</rss>

