Actions are hooks provided by App Designer to attach a custom JSP, JavaScript or a custom Java class to your entity. App Designer supports 2 Types of Actions Configuration inside your smart form.
Entity Action: Entity Actions cover an entire entity. You can attach Java classes to Entity Action to override the function to save or update an entity. But you cannot attach a JSP file to an Entity Action.
The Entity Action provides 2 icons - to open Action Field Configuration window and to delete an existing Entity action.
Below List specifies all Entity Action Items along with their description.
Entity Action Item
Mandatory
Description
Module Action ID
Y
System generated can't edit by user.
ENTITY_ID
Y
System generated can't edit by user.
Process Name
Y
Search/Insert/Update
Script File
JavaScript File Action
Class Action
Fully qualified Java Class name
Module Action: Module Action covers only the corresponding module. You can include a custom JSP into your module using a Module Action. You can also add Java class to override add, update, save functions on the module, or add any JavaScript functions to customize the interaction on the module.
Below List specifies all Module Action Items along with their description.
Module Action Item
Mandatory
Description
Module Action ID
Y
System generated can't edit by user.
MODULE_ID
Y
System generated can't edit by user.
Process Name
Y
Search/Insert/Update
JSP/HTML File Path
JSP File Action
Script File
JavaScript File Action
Class Action
Fully qualified Java Class name
An Edit icon allows opening an Action Field Configuration window as shown below:
Similar to an Entity action, Module Action also provide 2 icon's - Icon to open Action Field Configuration window and Icon to delete an existing Module action.
An Edit icon allows opening an Action Field Configuration window as shown below: