Hex Docs
Search…
Input Parameter Cells
Input Parameters are a core, unique part of Hex. Input parameters can be created in the Logic View and then added, optionally, to an App.

Adding an Input Parameter

Add Cell Menus

Users can add input parameters from the Add Cell menu at the top of the Logic View or from the + option between cells.

Right-Click to Replace

If you highlight and right-click some code, you can use the Add Input Parameter option to replace your code with an input value directly.

Configuring an Input Parameter

All input parameters have two base options, accessible from the configuration menu:
Label: text label displayed above the element, primarily in the App View.
Name: reference name in code. Changing this name will automatically update references to this parameter throughout the Logic View.

Referencing Input Parameters

Inputs are stored as Python variables, e.g., input_1 that can be accessed similar to any others.
Input variables cannot have their values reassigned, e.g., some_param = 123 will not effectively re-assign the parameter to 123.

Types of Input Parameters

Last modified 16d ago