Create a Dictionary
Dictionary can be managed using dedicated functions as well as using facilitated notation. Below we describe how to work with Dictionary using the facilitated notation.
$$myDictionary[key] = value
Key
It is a string value used to qualify the key assigned to
the recorded value. The key could be qualified using:
Literal string (es.
$$myDictionary['CRUDE'])Variables containing a string (es.
$$myDictionary[$ColumnName]) |NoteVariables used to qualify the key of a SFHub Dictionary must be of type String. |
Value
The value to add with the associated key. The value type is used to qualify the data type of all values in the dictionary. Supported data types are all SFHub data types.
Example
$$myDictionary['CRUDE'] = 10
This will create a dictionary of numeric values and assign the value 10 to the dictionary key 'CRUDE'.