For the complete documentation index, see llms.txt. This page is also available as Markdown.

Expressions

An overview and explanation of using expressions in Jigx is provided in the Expressions and Advanced Expressions section in the Guide tab.

Refer to the following topics for more information:

In this section, examples with code snippets are provided for working with data using JSONata; these are:

JSONata
Example of use

Arrays

Create filtered lists from arrays and handling arrays with SQL and Dynamic Data

Aggregation

To return the minimum, maximum, or average value in an array.

Boolean

Evaluate data to find a true or false result.

Comparison Operators

Compare values in data and use the value in a conditional logical expression, e.g., is an amount greater than 100.

Date & Time

Return a date and time in various formats, e.g., ISO 8601.

Path Operators

Navigate and access specific elements or properties within a data set, e.g., for filtering or searching.

Functional Programming

Compare values or display data based on certain conditions and use logical statements, e.g., adding HTML variables in content or a multi-select as a functionParameter.

Jigx Variables

Jigx variable set used in expressions to manipulate data specific to a Jigx App, e.g., determining the logged-in user or the organization and solution.

Predicate Queries

Used for query refinement.

String

String expressions have many uses, such as concatenating two strings to display multiple data records in one row, writing numbers as strings, or selecting only a few characters from the whole string.

Advanced expressions

Advanced expressions are helpful when you need to filter an array of records to display specific data and perform expression transformations over the data.

Regex +JSONata

Create validation for text fields by combining JSONata and Regex expressions.

JavaScript expressions

JavaScript functions allow you to write modular and reusable code, by encapsulating specific functionality within JavaScript functions and calling the function in an expression.

Last updated

Was this helpful?