Versions Compared

Key

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

...

Property Assistant is a new feature in Joget DX 8, that allows you to quickly access and insert Hash Variables (and others)in any form element, UI element or list.

...

NameDescription
Prefixbeanshell
DescriptionUsing App Variable to execute bean shell script. Passing parameter using URL query string syntax.
Attributes
  • #beanshell.ENVIRONMENTAPP_VARIABLE#

  • #beanshell.ENVIRONMENTAPP_VARIABLE[PARAMETERS_URL_QUERY_STRING]#

Scope of Use
  • All components within the App.
Sample Attributes

To execute a script stored in the "welcome" environment app variable with parameter "username" and "dept":

Code Block
languagejava
if (username != null && username.length == 1 && !username[0].isEmpty()) {
       return "Welcome " + username[0] + " (" + dept[0] + "),";
} else {
       return "";
}
Related Tutorials

...