Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair
Panel
bgColor#ffffff
titleQ

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

Panel
bgColor#ffffff
titleA

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

 

Panel
bgColor#ffffff
titleSee also...

Filter by label (Content by label)
showLabelsfalse
spaces@selfcom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@3bbaf8c
showSpacefalse
operatorAND
labelsURL parametersatvise URL
cqllabel = "atvise" and label = "url" and space = currentSpace ( )