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- In the Screen Design page of the Mobile Workflow Forms Editor,
select the menu item, control, or custom action that you want to
configure.
- In the Properties view Type field, select
Custom.
- 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
- Save the Custom.js file.