Versions Compared

Key

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

...

Table of Contents

borderColor
Warning
green
title
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition
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#

Introduction

English
Info
titleCommon Use Case

You can use HTML Page userview element to design the HTML Page is one of the most used elements in Userview.  It is where you can define the layout and structure of your own custom page using scripting and CSS codes as well.  

Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This feature is enhanced in Joget Workflow v6 with new Rich Text Editor.

the rich text editor or writing HTML/CSS/JS.  

HTML Page is commonly used as a the homepage/landing page of an app.

...

Figure 1: Screenshot highlighting HTML Page in sample HR Expenses Claim app

Image Removed

HTML Page Properties

Edit HTML Page

Image Added

Figure 1Figure 2: HTML Page Properties


NameDescription
idMenu 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.

Info
titleUnique field
Value

Ensure that value defined here

must be

is unique to

the rest of the Userview Menus as the first matching name will be called upon

other userview menus in the app, since the first matching/conflicting ID will take precedence in page loading.

Label
Menu label. Mandatory field.ContentContent in HTML
The HTML Page userview menu label.
Content

Page content.








Image Added

Figure 2: Sample HTML Page in runtime

Performance & Offline

Cache 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.
You can configure the Performance settings in this Userview Element which allows one to cache existing content for improved performance and loading speed. Read more at Performance Improvement with Userview Caching
Panel
borderColorpurple
bgColor#fefaff
borderWidth1
titleBGColor#ddccff
borderStylesolid
titlePerformance

Read more at Performance Improvement with Userview 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.