XSLT Function LookupValue

Gets a value from a defined lookup. This function works with up to 4 parameters. If more parameters are needed, use function LookupValueEx.

NAMESPACE

xmlns:AS="http://schema.advantages.cz/AsapFunctions"

SYNTAX

// In case a lookup has only one input parameter
string LookupValue(string lookupElementId, string ParameterValue)
// When a lookup has more input parameters, they have to be identified, so their name has to be defined.
string LookupValue(string lookupElementId [, string parameter1Name, string parameter1Value [, string parameter2Name, parameter2Value [... ]]...] )

PARAMETERS

Name Description
lookupElementId Unique identifier (Guid) of lookup model element
lookupInput input value for a lookup parameter
lookupParameterName Name of Xth input parameter
lookupParameterValue Value of Xth input parameter