Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. HTML Template File - the file path is relative to the modules directory. If the path is not qualified, the pathlist is used to search for the HTML template file.
  2. EJS options (optional) - a JavaScript object that specifies specifying EJS options as documented at on www.ejs.co.

Example

Code Block
languagejavascript
pjs.defineDisplay("mydisplay.json");  // declareDeclare Rich Display
mydisplaypjs.myscreen.usedefineDisplay("myscreenmydisplay.htmljson");
 // specifySpecify HTML template for a specific Rich Display record format screen
mydisplay.myscreen.executeuse("myscreen.html");
 
// Show the screen
mydisplay.myscreen.execute();