Versions Compared

Key

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


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

Specifies that an HTML template with EJS scripting is to be used for the user interface of a Rich Display File record format. In this case, the Rich Display json is only used to describe the record format's fields and not the look and feel of a screen. The look and feel is defined by the HTML template.

...

Code Block
languagejavascript
// Declare Rich Display
pjs.defineDisplay("mydisplay.json");

// Specify HTML template for a specific Rich Display record format screen
mydisplay.myscreen.use("myscreen.html");
 
// Show the screen
mydisplay.myscreen.execute();

 

...