Hide disabled options

You can remove disabled options that are dimmed from menus in CCMS Desktop. In the accessrights.dtd file, you add the hide-when-disabled attribute to the file and then set the hide-when-disabled attribute to true for each menu option that you want to hide.

Important: Make configuration changes in a test environment and confirm they work before copying them to a production environment.

To hide disabled options:

  1. In the TEXTML Administration perspective, connect to your server.
  2. Locate the accessrights.dtd file in the repository's /system/conf collection.
  3. Check out the file and open it for editing.
  4. Locate the <method> element and add the following line to the attribute list:
    hide-when-disabled (true | false ) "false"
    For example:
    <!ELEMENT method (notify, conditionset)                                >
    <!ATTLIST method
              name CDATA #REQUIRED
              type (front-end | api | outputtype) #REQUIRED
              hide-when-disabled (true | false ) "false"                  >
  5. Save, close, and check in the file.
  6. Locate the accessrights.xml file in the repository's /system/conf collection.
  7. Right-click accessrights.xml and click Check Out.
  8. Double-click the file to open it in the editor.
  9. Locate the <method> element for the menu option to disable and set its hide-when-disabled attribute to true:
    For example, to hide the lock menu option when it is disabled, set the hide-when-disabled attribute as follows:
    <method name="Lock" type="front-end"  hide-when-disabled="true"         >
  10. Repeat for every menu option to hide.
  11. Save, close, and check in the file.
  12. Inform users of the changes.
    The changes are automatically applied once users close and then reopen their IXIA CCMS Desktop. Users can also apply the changes without restarting their CCMS Desktop by clicking IXIA CCMS > Synchronize Configuration.
The disabled options are hidden, rather than dimmed.