...
The HTML can then be displayed using the display.screen.execute() API or a combination of display.screen.readwrite() and and display.screen.writeread(). Once Once displayed, the screen can be submitted back to the server with the use of the pui.submit() client-side browser API.
Since PorfoundProfound.js applications are single page applications, the content should not be a full HTML document and must not include <html>, <title>, and <body> tags. It should only include the body content to render.
...
Code Block | ||
---|---|---|
| ||
// 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(); |
...