Customizing Menus

You can use JavaScript to customize Interactive Reporting menus. Add scripted menu items to the menu bar to:

  To add a custom menu:

  1. Select Tools , then Customize.

    The Customize dialog box is displayed.

    Image shows the Customize dialog box.
  2. Type the name of your custom menu in the Menu Name field.

  3. Click Add to add a new menu item to the Menu Items list.

    The Properties dialog box is displayed.

  4. Select the Text tab.

  5. Type a name for the menu item.

    Image shows the Text tab of the Customize dialog box.

    Select one or more check boxes to indicate the sections where the menu item should be displayed.

  6. Select the Script tab to display the Script page.

    Enter script commands to be run when the item is chosen from the menu. If you plan to deploy the menu item to a group of users, make sure that commands which reference external applications or files use universal paths.

    Note:

    When entering script commands, make sure the JavaScript is kept to one line. Multi-line scripts are not intended for this feature.

  7. Click OK to return to the Customize dialog box.

    Add separator lines and move menu items as needed to complete the final menu.

  8. Click OK to close the Customize dialog box.

  9. To provide the same functionality for distributed users, copy the preference file which supports this feature to users’ machines.

    • For Windows, the bqtools.ini file is located in the Windows directory.

    • For UNIX, the .bqtools.ini file is located in the user home directory