Print

GetDictionaryItem

The GetDictionaryItem() function returns a value of the dictionary position/item parameter. You have to provide a name of the dictionary, the position/item value and the parameter name.

Syntax

GetDictionaryItem(dictionaryName, itemValue, paramName);

Function arguments

  • dictionaryName – (String) a name of the dictionary;
  • itemValue – (String) a value of the dictionary position/item;
  • paramName – (String) a name of the parameter that is to be returned for the given dictionary position. Allowed values: [ id | description | externalId | index | value | displayValue | displayDescription | category | categoryId | externalCategoryId ].

Return value

This function returns String.
Returns the value of the specfied parameter from the dictionary position.

Examples

Example 1

This returns the description parameter value of the „A” position/item in the „Cost type” dictionary.

fieldId = GetDictionaryItem("Cost type","A","description");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?