Syntax

GetProperty(name)

Description

Use this method to return the property value mentioned by the input parameter.

Parameters

Name Description
name Specifies the name of the property value as a string

Returns

Any.

Example

Local Record &rPsOptions = CreateRecord(Record.PSOPTIONS);
&rPsOptions.SelectByKey();
   
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
   
&oObject.AddRecord("Rec", &rPsOptions);
   
Local JsonObject &joJson = &oObject.GetProperty("Rec");