Boolean

Boolean is a true or false value.

Specification

nested

  • Available types:

Type
Specification

array

Provides an array of nested parameters which are shown when the value of the parameter is true (the checkbox is checked).

string

Provides URL address of an RPC to load list of nested parameters.

object

Provides a detailed specification of nested parameters.

editable (deprecated)

  • Type: Boolean

  • Default: false

  • If set to true , the user can map (or manually edit) the value of the parameter.

Examples

Basic Boolean

A basic boolean offers three options: true, false and undefined.

Example of Boolean

Checkbox Style

You can turn the radio buttons into a checkbox by adding a "required": true property. Additionally, you can set the default state by setting the default property.

Example of Checkbox

Nested Parameters

By adding nested fields, you can add fields that will be shown to the user if this field’s value will true.

Boolean Set to False

If you prefer a simple checkbox, add "required" : true to the parameter description.

Editable (deprecated)

Since Apps platform version 2, all booleans have set mappable(editable) to true by default.

You can allow mapping to the field by setting editable to true.

Example of Editable

Last updated