Defining a Custom Menu Item or Custom Action

Associate a custom action with a menu item, custom action item, or control, and write your own code to dictate its behavior.

Prerequisites
From the Screen Design Palette, add the item that you want to customize.
Task
  1. In the Screen Design page of the Mobile Workflow Forms Editor, select the menu item, control, or custom action that you want to configure.
  2. In the Properties view Type field, select Custom.
  3. Edit the Custom.js file, adding custom code in the customBeforeMenuItemClick to handle the action.
    In your code, call the custom function that is autogenerated in workflow.js
  4. Save the Custom.js file.