Is it possible to hand over own URL parameters to the web-visualization when a web session is started in a browser?

Q

Is it possible to hand over own URL parameters to the web-visualization when a web session is started in a browser?

A

URL parameters during a session are handed over along with the netSCADA device's IP address followed by questionmark '?' followed by the parameter as a string followed by '=' sign and the value at the end. Multiple parameters are combined with the '&' sign.

Some URL parameters are already predefined in atvise and are documented in the online help of ativse under the keyword "URL parameters".

Example:

http://xx.xx.xx.xx/?language=en&autofit=true

The parameters are evaluated at the beginning of the index.htm script code which is the first page loaded during a web session. It can be found in under 'Library/ATVISE/Resources'

At the beginning of the index.htm script code the service webMI.query.xxx is used to assign the optional URL parameters to local variables. xxx is the parameter name.

If you need own variables you can define own parameters and extend the index.htm code with it.

Example:

var MyParameter = webMI.query.MyParameter;

The parameter can be handed over using this link http://xxx.xxx.xxx.xxx/?MyParameter=true

Â