Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some buttons and menu-times are automatically hidden by FEWS when they are not relevant. For example, the menu item that controls whether the table shows threshold crossings (showThresholdCrossings) is only visible if at least one threshold value set is configured. This may result in buttons or menu-items remaining invisible, even though they are configured as visible="true" in the buttonSettings.

The ButtonSetting element has two more attributes namely: permission and selected. If permission is set, the button is shown to the current user if the user has the permission to view the button. If selected is set, then the button is shown as selected when FEWS is running. The default for selected is true.

Code Block
titleExample config for the buttonSettings in TimeSeriesDisplayConfig.xml
<buttonSettings>
		...
		<moveBackHalfViewPeriod visible="false"/>
		<moveForwardHalfViewPeriod visible="false"/>
		<moveForwardOneViewPeriod/>
		<showAllData/>
		<switchReferenceLevel/>
		<setViewPeriod/>
		<copyTimeSeries visible="false"/>
		<pasteTimeSeries visible="false"/>
		...
</buttonSettings>

...