You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Prevent XSS Attack

When using Hash Variable that uses a 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#

Introduction

You can use the Rich Text UI element to design the layout and structure of your own custom page using the rich text editor or writing HTML/CSS/JS.  

Rich Text is commonly used as the homepage/landing page of an app.

Rich Text Properties

Edit Rich Text

Figure 1: Rich Text Properties


NameDescription
Custom ID

Item link slug. Optional field.

Ensure that value defined here is unique to other UI menus in the app since the first matching/conflicting ID will take precedence in page loading.

LabelThe Rich Text UI menu label.
Content

Page content.








Figure 2: Sample Rich Text in runtime

Performance & Offline 

Figure 5: Rich Text Properties - Performance & Offline Settings 


Name

Description

Scope

Caching options are:

  • None: No caching.
  • Application: Cache content by application where all users will see the same content.
  • User: Cache by username
Duration (s)Duration in seconds to cache content defaults to 20 seconds if applicable.

Read more at Performance Improvement with UI Caching.

PWA Offline Settings

Note: PWA Offline support is dependent on the theme used.

Name

Description

Enable cache for offline supportCheck this to enable caching for offline support, usually set for use on mobile browsers.

Read Progressive Web Application (PWA) for more information.



Performance

You can configure the Performance settings in this UI Element which allows one to cache existing content for improved performance and loading speed. Read more at Performance Improvement with UI Caching.







  • No labels