Developing a custom action

You can develop a custom action, and configure it to be displayed in the web UI in several different ways: as a button, a link on a detail view, a menu bar item, an item in the navigation tree, or as a directory entry on the Home page. When a user clicks the action, the results are displayed in the web UI.

Custom actions can be inserted into the web UI configuration in the following places.
Detail View Definitions
  • As a custom button which is displayed after the system defined buttons on the same horizontal line.
  • As a property with a <custom-action> element which is displayed in the list of properties in the same order as in the definition.
Collection View Definition
  • As a button with a <custom-action> element which is displayed in the list of buttons in the same order as in the definition.
Menu Bar Definition
  • As a top level or sub level menu item with a <custom-action> element which is displayed in the menu in the same order as in the definition.
Navigation Tree Definition
  • As a top level or sub level node with a <custom-action> element which is displayed in the tree in the same order as in the definition.
Home Page Definition
  • As a custom directory type entry which is displayed in the directory panel in the same order as in the definition.

You can write a custom action either as a Java™ class or as a JavaScript object.