Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Hash Variable

Hash Variables gives users greater flexibility and freedom in accessing useful information or relevant runtime values from the system.

A hash variable is a special hash-escaped keyword that can be used in

  • Form Builder
  • Datalist Builder
  • Userview Builder
  • Supported plugin configuration properties
  • Activity name in Workflow Designer
  • External Form URL when mapping an activity to an external form

to return the value of some useful runtime variables from Joget components.

Available Hash Variables:-

Children Display

Nested Hash Variable 

Since version 3.0.3, a Hash Variable can be used inside another Hash Variable to form a Nested Hash Variable. The syntax for the inner Hash Variable is wrapped by a pair of curly bracket '{' and '}'.

Syntax:

Code Block
#prefix.{prefix.variableKey}#

Example:

Code Block

#date.{envVariable.dateFormat}#
#user.{variable.username}.firstName#
#form.tableChild.field1[{form.tableParent.childId}]#

Apart from all of existing Hash Variables supported in Joget version 2, there are some new hash variables supported in this new version 3.

Internationalization support on application

Support language localization on application level.

  • #i18n.keyName#

Application level environment variable

Application level environment variable.

  • #envVariable.keyName#

Request Parameters

For accessing request parameters.

  • #requestParam.parameterName#

Current User

Retrieve currently logged in user information.

...