Font Size:

Environment Hash Variable Plugin

Introduction

This article features the Environment Hash Variable Plugin created by Mokxa Technologies, LLC. The Environment Hash Variable plugin for Joget DX introduces a solution for dynamically retrieving system environment variables using hash variables in the Joget Property Assistant. This enables high-code developers to build more configurable and secure Joget apps by removing manual configurations of hardcoded environment values in processes and integrations. This article will explore the functionality and capability of this plugin.

Key Features

  • Allow for dynamically fetching system environment variables, reducing manual configuration efforts.
  • Keep sensitive system settings outside the application, minimizing security risks.
  • Easily adapt configurations across different environments (e.g., development, staging, production).
  • Streamline system integrations without modifying application logic.

Get Started

Prerequisites

  1. Joget DX Enterprise version.
  2. Developer access to Joget with plugin management capabilities.

Plugin Information

Plugins Available in the Bundle:

  1. Environment (Hash Variable Tool)

This plugin bundle is compatible with Joget DX 8 and onwards.

To download this plugin, visit the Joget Marketplace.

For any issues related to this plugin, visit the Environment Hash Variable Github page.

Steps to install

  1. In the Joget App Center, navigate to Settings > Manage Plugins > Upload Plugin and click Choose File.
  2. Select the Env Hash Variable jar file and click Add. The plugin is listed in the Installed Plugins tab once uploaded.

How to use it

  1.  Open the Property Assistant to fetch the system environment variable. The prefix for this hash variable is sysVar.
  2. Fetch the system environment variable value by adding #sysVar.Key#.

 In the screenshot below, HOME is used as the key to get the value in the label as /home/joget.

Credits

This plugin and documentation are created by Mokxa Technologies, LLC.

Created by Debanraj Last modified by Debanraj on Apr 03, 2025