5.2. Initialization Parameters

The WebView application offers a number of initialization parameters that give you some control over the connection, log-in, initial view of a page, and designer controls when a page gets loaded.

5.2.1. Specifying Parameters

You can put any of the initialization parameters into the properties of desktop shortcut that you use to launch the WebView application. Each of the two scenarios for running the WebView application has its own desktop shortcut, which must be configured separately.

  1. Running Locally  Create a desktop shortcut for the WebView application if you don't already have one, and right-click on it to expose the Target properties.

  2. Web Launch  Create a desktop shortcut for the WebView application if you don't already have one as explained here, and right-click on it to expose the URL properties.

For either of these, you can add parameters by inserting a space, followed by the parameter, an equal sign (=), and the value. Multiple parameters are allowed. For example:

StartInRunMode=true Page="Circular Gauges"
StartInRunMode=true Page=Notifications

[Note]

Shortcuts for a locally-running DataHub instance can contain spaces, as long as the value is in quotation marks, such as "Circular Gauges" above. Web launch shortcuts that use URLs do not allow spaces in the value. It must be a single string, as in the second example above (Notifications).

Please refer to the Parameter List to see all of the available parameters.