Update cookies preferences
Promotic

Call - method of the PmAction object

Description:
Calling action.
Syntax:
Empty Call()
Note:
This method is also functional in Web panels.

This method calls the action. It means that it executes the action content - based on action type. Action type and additional parameters are defined when creating the action by the Pm.CreatePmAction method.

If the designer assigned the PmAction object to some system component, then Call method does not need to be called because it is called by the system component itself. See The usage of the PmAction object.

For now, there is just one action type available (see the nType parameter in the CreatePmAction method) that call designer methods (defined on the "Methods" tab) of the object. This method must have two parameters:
- oSystem: Object of the PmMap type that contains system information of the action. Properties of this object may vary based on the origin of calling the action.
If the action was called by the designer by the Call method, then this object is empty (there are no properties).
- oPrivate: The PrivateData object. There are designer defined properties in this object.
Example1:
JavaScriptVBScriptSelect and copy to clipboard

oAction.Call();

History:
Pm8.03.06: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.