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 metadata form using subview. You can call subview from the edit metadata form in the grid, and extend the form functionality using JavaScript. 

To load the JavaScript code using subview, 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 then specify the view path in this syntax:
    /SequenceForms/wf/<WorkflowName>/{active}/<ActivityName>/<ViewName>.ascx