Επεξεργασία

Κοινή χρήση μέσω


CreateUiDefinition functions

This article provides an overview of the supported functions for createUiDefinition.json.

Function syntax

To use a function, surround the invocation with square brackets. For example:

"[function()]"

Strings and other functions can be referenced as parameters for a function, but strings must be surrounded in single quotes. For example:

"[fn1(fn2(), 'demo text')]"

Where applicable, you can reference properties of the output of a function by using the dot operator. For example:

"[func().prop1]"

Collection functions

These functions can be used with collections, like JSON strings, arrays and objects.

Conversion functions

These functions can be used to convert values between JSON data types and encodings.

Date functions

Logical functions

These functions can be used in conditionals. Some functions might not support all JSON data types.

Math functions

Referencing functions

String functions

Next steps