Before you begin to modify the configuration in XML configuration files, you may need to get knowing the internal names of configuration items, to be able to search for them in the configuration files.
On the Help menu, click Configuration details. This displays a small message box, where you can read some internal names, ie. how they're specified in the configuration, for example, for the Menuset, main tab, BaseQuery, SearchObjectUI etc. Once you got internal names, then look at Locating items in xxx_TabItems.xml. |
Locate the internal name of the main drop-down menu in the MENUSET section on the Help > Configuration details. |
Context menus cannot be identified by Help > Configuration details, as a context menu disappears if you click elsewhere. Follow this procedure instead: 1.Display Script Editor (Window > Palettes > Script Editor). 2.Click the Capture button. 3.Right-click where you want to know the name of the context menu. 4.Make a note of the string that appears in the Script Editor window. 5.Launch Visual Studio Express and load add-ins solution. 6.Press SHIFT+CTRL+F and then paste in the Find what box, the string copied from the Script Editor. 7.Make sure that in Look in, the Entire Solution is selected. 8.Click Find All. 9.In Find Results, locate a line that contains ...Sub <your_string_name>, and then double-click it. 10.Within the sub code, look at the line that looks like Main.ShowPopupMenu("ArticleNavigatorPopup", True). The text between double quotes is the name of the popup menu. Note Some context menus may run through event OnContextMenu. Such event is not captured in the Script Editor. Therefore, if you right-click, and no string gets captured, search for OnContextMenu code in Entire Solution. |
Locate the internal name of the current main tab in the MAIN TAB AND NAVIGATORS section on the Help > Configuration details. |
Locate the internal name of the current base query in the DIRECTORY STYLES... section on the Help > Configuration details. |
See also
Locating items in xxx_TabItems.xml