Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns a text list with available and enabled 1st-level options of selectable fields. Disabled options will be ignored. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
availableItems(field) #Output: Text list |
UI Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
Page properties | |||||||||
| |||||||||
Short description | This function returns a string
|
UI Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This function returns a comma-separated
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
Variant of the function where you can optionally specify a dedicated parent option. Only child options matching the specified parent will be returned. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
availableItems(field, parentOption) #Output: Text list |
UI Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
UI Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
This function will return a comma-separated list of all child options of a cascading select field. Only child options (2nd level option) of the specified parent option will be returned. Parameters used in this function
string list | Available since
colour | Blue | title | 2.2.7
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
This function returns a
|
UI Text Box | ||
---|---|---|
| ||
Only enabled options will be returned. If you want to include disabled options, please use the related function: allAvailableItems() |
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Page properties | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
Returns a STRING [] with available options in select or multiselect field with field code %{...somefield}. Disabled options are discarded. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
availableItems(%{...somefield}) #Output: string list |
UI Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Parser expression | Description |
|