Update cookies preferences
Promotic

GetVarExtensions - method of the PmaCommGroup object

Description:
Returns an array of all data extensions (of ExtComm objects) registered in the PmaCommGroup object (all items of this group).
Syntax:
Array GetVarExtensions()
Return value:
1-dimensional array (PmArray object for JavaScript or Array data type for VBScript).
Example:
Obtains an array of references to all registered ExtComm objects PmaCommGroup of the /CommData object with following listig of identifiers of each item into the INFO system.
JavaScriptVBScriptSelect and copy to clipboard

var aExt = pMe.Pm("/Comm/Group1").GetVarExtensions();
var nExt = aExt.GetSize(1);
var iExt;
for (iExt = 0; iExt < nExt; iExt++)
{
var oExt = aExt.GetItem(iExt);   // Data extension = ExtComm object
Pm.Debug(oExt.ItemId);
}

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

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