Use Pro SDK to build a button, and it can be used normally in the context menu of feature layer of file geographic database, but the context menu of SHP layer does not show the custom button. DAML as follows
<updateModule refID="esri_mapping">
<menus>
<updateMenu refID="esri_mapping_layerContextMenu">
<insertButton refID="ProAppModule_Button_ApplySymbology" placeWith="esri_mapping_selectedLayerSymbologyButton" />
</updateMenu>
</menus>
</updateModule>
Isn't the context menu of SHP layer 'esri_mapping_layerContextMenu' in the SDK?
Solved! Go to Solution.
try
<updateMenu refID="esri_mapping_unregisteredLayerContextMenu">
Thankyou!You are right!