Skip to content

Latest commit

 

History

History
120 lines (92 loc) · 4.91 KB

create-uidefinition-functions.md

File metadata and controls

120 lines (92 loc) · 4.91 KB
title description ms.topic ms.date
Create UI definition functions
Describes the functions to use when constructing UI definitions for Azure Managed Applications
reference
06/24/2024

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