...
- 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.
- EJS options (optional) - a JavaScript object that specifies EJS options as documented at www.ejs.co.
Example
Code Block | ||
---|---|---|
| ||
pjs.defineDisplay("mydisplay.json"); // declare Rich Display mydisplay.myscreen.use("myscreen.html"); // specify HTML template for a specific Rich Display record format screen mydisplay.myscreen.execute(); // Show the screen |
...