Genpact Cora Knowledge Center

Support

Load JavaScript code to edit meta data form

V3.1 and later

In Cora OpsManager, the developers can load JavaScript code to the edit meta data form using sub-view. You can call sub-view from the edit meta data form in the grid, and extend the form functionality using the JavaScript. 

To load the Java Script code using sub-view, follow the steps below:

  1. Create a workflow.
  2. Add a form activity.
  3. Create a view with the content you need. (Before writing a JavaScript code, always check variables before use, and use “Try..Catch” to catch any errors.)
  4. Go to Cora SeQuence Admin > ICM Data Model > CustomClientViews.
  5. Add a new record ,and specify the view path in this syntax:
    /SequenceForms/wf/<WorkflowName>/{active}/<ActivityName>/<ViewName>.ascx