LastCfgSrc - property of the PmgTrendViewer object
Description:
Reference to recently loaded configuration file, when calling the
LoadCfg method.
Syntax:
String LastCfgSrc
Note:
Property access for
read only.
This property is also functional in
Web panels.
The reference to the configuration file of trends (read from
*.tg or
*.xml file) is saved into this property each time when calling the
LoadCfg method.
If the
LoadCfg method reads the configuration group
from the disk file, then the
full path to the file is saved in the property.
If the
LoadCfg method reads the configuration group
from the URL address, then the
URL address of the configuration file is saved in the property.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var sSrc = oTView.LastCfgSrc;
Dim oTView, sSrc
Set oTView = pMe.Items("../TrendView")
Set sSrc = oTView.LastCfgSrc