Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Prevent XSS Attack
When using Hash Variable that uses URL parameter or user-inputted value in your custom JS scripts, ensure that these hash variable(s) are escaped!
Make use of hash variable escape keywords, see Hash Variable - Escaping the Resultant Hash Variable.
Use ?javascript hash variable escape. Example:
#requestParam.id?javascript#
You can use HTML Page userview element to design the layout and structure of your own custom page using the rich text editor or writing HTML/CSS/JS.
HTML Page is commonly used as the homepage/landing page of an app.
Name | Description |
---|---|
id | Menu element unique id. Userview will use this id in the URL for the menu if the Custom ID is empty. |
Custom ID | Item link slug. Optional field. Ensure that value defined here is unique to other userview menus in the app, since the first matching/conflicting ID will take precedence in page loading. |
Label | The HTML Page userview menu label. |
Content | Page content. |
Figure 1: HTML Page Properties
Figure 2: Sample HTML Page in runtime
Name | Description |
---|---|
Scope | Caching options are:
|
Duration (s) | Duration in seconds to cache content, defaults to 20 seconds if applicable. |
Read more at Performance Improvement with Userview Caching.
Note: PWA Offline support is dependent on the theme used.
Name | Description |
---|---|
Enable cache for offline support | Check this to enable caching for offline support, usually set for use on mobile browsers. |
Read Progressive Web Application (PWA) for more information.