AddProperty Method
The AddProperty method adds a property to a presentation model. Siebel Open UI can access it through the Get method. It returns one of the following values:
True. Added a property successfully.
False. Did not add a property successfully.
It uses the following syntax:
this.AddProperty("propertyName", propertyValue);
where:
propertyName is a string that identifies a property. A subsequent call to this method with the same propertyName overwrites the previous value.
propertyValue assigns a value to the property.
For example, the following code adds the NumOfRows property and assigns a value of 10 to this property:
this.AddProperty("NumOfRows", 10);
SiebelJS.Log(this.Get("NumOfRows"));