Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Operations Management Interface

Set additional properties for a ViewApp

  • Last UpdatedDec 06, 2024
  • 2 minute read

The additional settings available for a ViewApp determine the timing of certain actions taken when the ViewApp is open. The available settings are:

  • OnShowTimeoutExtendMs: This extends the default timeout period for the OnShow script when the ViewApp is opened. The amount you enter is added to the default timeout of 1000 msec (one second). So, the default value of 5000 msec actually sets the OnShow timeout to six seconds. This is the maximum amount of time that the OnShow script will wait this long for the ViewApp's data to be bound. The behavior is:

    • If the data is bound before the timeout period is reached, the OnShow script executes as soon as the data is available.

    • If not all of the data is bound, the OnShow script executes when the timeout period is reached.

  • DataPollingIntervalMs: How often (in msec) the ViewApp will poll for new data. The default is 1000 msec (one sec).

  • UseLanguageSettingFontOnly: If this is set to True. when the ViewApp is opened in the OMI web client, it will use only the font that is set for the language the user has selected in the OMI web client. This must be one of the languages defined on the Galaxy configuration Languages dialog. This font will override all other font settings for any element of the ViewApp. The default value is False.

To set additional values for a ViewApp

  1. On the ViewApp editor, click the Additional settings icon at the top right. The settings dialog box opens.

  2. On the Settings dialog box, enter the desired values in JSON format, like this:

    {

    "Web": {

    "OnShowTimeoutExtendMs" : 5000,

    "DataPollingIntervalMs" : 1000,

    "UseLanguageSettingFontOnly" : False

    }

    }

  3. When you are done, select OK to save your changes and close the Settings dialog box.

Related Links
TitleResults for “How to create a CRG?”Also Available in