SetProperty
This API allows the plug-in wrapper set a property on the PM on which this control is operating. They are PM properties that the plug-in wrapper is acting on.
The following example shows how a CustomPW can operate on a PM property, and how another CustomPW can subsequently use the property for other purposes:
CustomPW1.prototype.ShowUI = function (control) {
// Custom Show Definition
if (this.Get("ShowControl1") === true) {
SiebelAppFacade.CustomPW1.superclass.BindEvents.call(this);
}
this.SetProperty("ShowControl2", false);
}
CustomPW2.prototype.ShowUI = function (control) {
// Custom Show Definition
if (this.Get("ShowControl2") === true) {
SiebelAppFacade.CustomPW2.superclass.BindEvents.call(this);
}
}