Select to view content in your preferred language

How to add a button to the data group in the esri_mapping_layerContextMenu?

723
3
Jump to solution
03-05-2023 09:55 PM
圈圈
by
Regular Contributor

I want to add a  button to the data group in the right-click menu, but I can't find the place to add it in DAML.

Can someone tell me where this seat is, please?

_0-1678081957869.png

 

0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor

Looks like u need menu "esri_editing_data"

This is how I find the menu/group/tab etc I want in the DAML:

Step 1: Turn "show command ids on screen tips" on in the backstage options.

step_1_data_menu.jpg

Step 2: Hover over an item already on the menu/group/etc u want. Pay attention to the DAML ID.

step_2_data_menu.jpg

Step 3: Search for the DAML ID (from step 2) in the Pro install folder in the Pro *.daml files

step_3_data_menu.jpg

Step 4: Look for all refIDs - that is where it is used in the application. In this case, there are two: "esri_editing_data" for layers and "esri_editing_standalonetable_data_menu" for standalone tables. You want "esri_editing_data" for layers".

 

 

 

View solution in original post

3 Replies
圈圈
by
Regular Contributor

I tried to add in this location, but was unsuccessful.

_1-1678082256859.png

 

0 Kudos
CharlesMacleod
Esri Regular Contributor

Looks like u need menu "esri_editing_data"

This is how I find the menu/group/tab etc I want in the DAML:

Step 1: Turn "show command ids on screen tips" on in the backstage options.

step_1_data_menu.jpg

Step 2: Hover over an item already on the menu/group/etc u want. Pay attention to the DAML ID.

step_2_data_menu.jpg

Step 3: Search for the DAML ID (from step 2) in the Pro install folder in the Pro *.daml files

step_3_data_menu.jpg

Step 4: Look for all refIDs - that is where it is used in the application. In this case, there are two: "esri_editing_data" for layers and "esri_editing_standalonetable_data_menu" for standalone tables. You want "esri_editing_data" for layers".

 

 

 

圈圈
by
Regular Contributor

Thank you very much. Your answer has solved my question perfectly.

0 Kudos