Working with global parameters
A global parameter is a type of global resource that is available to your entire visual project. Global parameters enable you to use variable values within your visual dashboard.
Global parameters can either be public or private. A private global parameter is set exclusively within the visual dashboard. A public parameter can be modified by the user at runtime.
QMF for Workstation provides the following global parameters:
- DeviceIdentifier is a global
parameter, which stores the UUID for QMF for WebSphere® or
MAC address for QMF for Workstation.
When the event occurs, the value of
this parameter is defined automatically .Note: In QMF for WebSphere, the UUID is saved to cookies, but if cookies are disabled, the application gets a new UUID every time when the LoadComplete event occurs.
- ExternalEventID is a global parameter, set to a particular control on a scene. It saves EventID from Send to Embedded Scene event action.
- Geolocation is a global parameter that stores the device geolocation data. To get the data, run the Refresh geolocation event action.
- Translation Table defines the translation table that is used to display the text values in the visual dashboard.
- ViewerHeight contains the height of the current visible part of the scene. This parameter is read-only and its value depends on the default measurement units. This global parameter has been defined for developing visual dashboards. You can use it in expressions when it is convenient to take as a parameter the current height of the visible part of the scene. This parameter value and the expressions with it are automatically updated as you change the size of the current visible scene.
- ViewerWidth contains the width of the current visible part of the scene. This parameter is read-only and its value depends on the default measurement units. This global parameter has been defined for developing visual dashboards. You can use it in expressions when it is convenient to take as a parameter the current width of the visible part of the scene. This parameter value and the expressions with it are automatically updated as you change the size of the current visible scene.
- ViewerX defines the viewer's current x-coordinate location, in inches. The default value is zero (0) which translates to the center of the screen. This parameter value is automatically updated as a user repositions in the visual project. This global has been defined for use by visual dashboards.
- ViewerY defines the viewer's current y-coordinate location, in inches. The default value is zero (0) which translates to the center of the screen. This parameter value is automatically updated as a user repositions in the visual project. This global has been defined for use by visual dashboards.
- ViewerZoom defines the viewer's current zoom level. The default value is 100%. This parameter value is automatically updated as the user changes zoom levels.
You can define your own global parameters.