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:
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 iRow;
var n = aExt.GetSize(1);
for (iRow = 0; iRow < n; iRow++)
{
Pm.Debug(aExt.GetItem(iRow).ItemId);
}
Dim aExt, iRow, n
aExt = pMe.Pm("/Comm/Group1").GetVarExtensions()
n = UBound(aExt) + 1
For iRow = 0 To n - 1
Pm.Debug aExt(iRow).ItemId
Next