GetDictionaryItem
This function gets the description of currently selected position from specified dictionary field.
Syntax
GetDictionaryItem("dictionaryName","itemValue", "paramName");
Function arguments
- dictionaryName – (String) The name of the dictionary
- itemValue – (String) The value of the dictionary item
- paramName – (String) The name of the parameter that is to be retrieved for dictionary position. Allowed values: [ id | description | externalId | index | value | displayValue | displayDescription | category | categoryId | externalCategoryId ]
Return value
This function returns String.
Returns the value of specfied parameter from dictionary position.
Examples
Example 1:
This returns the description of Defined Dictionary and chosen Dictionary Item.
fieldId = GetDictionaryItem("DictionaryName","ItemValue","Description");