Defining context filters for tools and menus
You can specify the types of views in which a menu or tool is available, and which devices it can be run on, using context filters.
About this task
Procedure
- Edit the XML file in the $NMGUI_HOME/profile/etc/tnm/menus/ directory that defines the menu or tool to which you want to apply the filter.
- Optional: Edit the
<context>
element to define the filter. Use the reference information about the XML elements and attributes available for context filters and the example provided to help you define the context filter. If the<context>
element is not used, the tool or menu is available for all devices, subject to any restrictions imposed by the optionalsecurity
element.