"Create Chart" Context Menu Item

190
2
Jump to solution
12-05-2023 08:09 AM
KrisCulin
Occasional Contributor

Hi All,

I am working to modify the context menu for feature layers in the contents pane.

One of the menu items, "Create Chart" (which has a submenu), I would like to move into our own submenu.  However, I am unable to find the ID for this.  I cloned and searched the SDK (specifically the daml files) and have found nothing.  There is no item with the label "Create Chart" but it is definitely appearing in the context menu:

This is our modified context menu:

KrisCulin_1-1701792433903.png

As you can see, "Create Chart" is appearing after "Data" and before "Sharing".  However, this menu item is *not* in our config.daml file.  I cannot find it referenced anywhere in the AGP SDK daml files.

I have no add-ins installed and our application runs as a configuration in AGP.

I am using a Basic license of ArcGIS Pro 3.2.

TIA,

Kris

0 Kudos
1 Solution

Accepted Solutions
StephenRhea_NV5
Occasional Contributor

There are a couple of ways you can do this, but using the /dumpcombineddaml command-line switch when starting Pro should give you the IDs for whatever you need. In 3.1, that menu is  `esri_charts_createChartMenuForLayer`.

View solution in original post

2 Replies
StephenRhea_NV5
Occasional Contributor

There are a couple of ways you can do this, but using the /dumpcombineddaml command-line switch when starting Pro should give you the IDs for whatever you need. In 3.1, that menu is  `esri_charts_createChartMenuForLayer`.

KrisCulin
Occasional Contributor

Excellent.  Thank you so much.  My manager will be very pleased.

Kris

0 Kudos