Environment: On premises only
Context Object Parameters
In addition to the fact object, some parameters are available in the scripting rule to be computed.
Parameter Name | Type | Read/Write | Comments |
---|
AttributeName | string |
Write | Name of the attribute to be used for computing the logical name. |
AdditionalAttributes | List | Write | List of attribute names. This parameter is optional. |
Policy | String | Read | Policy name |
Sample 2
The following sample shows you how to compute a display name (both on the server and on the client side) by concatenating the logical name and the additional attributes names.
let l(List)
Parameters->SetAttributeString("AttributeName","Att0")
l = Parameters->GetAttributeObject("AdditionalAttributes")
l.Append("Att1")
l.Append("Att2")
Parameters->SetAttributeObject("AdditionalAttributes",l)