Update cookies preferences

ConnectionPassword - property of the tvTrend object

User password for the access to the trends server to which this tvTrend object is connected.
String ConnectionPassword
Property access for read and write. The default value of this property is defined in the "tvTrend > Data source connection > Server > Password" configurator of this object.
This property is also functional in Web panels.
After writing into this property, it is necessary to call the Connect method with the nType=0 parameter.

If a wrong password is defined in this property, that differs from the password in the trends server (see the "Trends" configuration window), then the access to this server is refused to all requests to any data.

If the ConnectionType property is 1 (local connection), then permissions are not checked (see the "PmaTrendGroup > Permissions" tab) and the local server is always connected when calling the Connect.
See also:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
oTrend.ConnectionPassword = "xyz";
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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