Returns the property value of a parameter, lookup value or multi-choice value. Properties of reference type can be followed to instead return a property of the referenced object. If no matching property is found, then an empty string is returned.
Overloads
string Parameter(string name; string propertyName; [string propertyName2]; ...)
string Parameter(Parameter parameter; string propertyName; [string propertyName2]; ...)
string Parameter(LookupValue lookupValue; string propertyName; [string propertyName2]; ...)
string Parameter(MultiChoiceValue multiChoiceValue; string propertyName; [string propertyName2]; ...)
name |
The name of the parameter, lookup value or multi-choice value to read a property of. For lookup values and multi-choice values both the name of the parameter and the name of the value should be entered separated by a dot. |
propertyName |
The name of a property to read. |
propertyName2 |
Optional name of a property to read from an object that is referenced by the first property. |
Examples
Parameter(MyParameter; "Title")
Returns the title of the parameter MyParameter.
Parameter(MyParameter + ""; "Title")
Returns the title of the parameter whose name is equal to the value of MyParameter. In this case the argument is treated as a string instead of a Parameter since it's a composite expression.