You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

Since version 2021.01 a new display has been introduced Annotation Display.

It has been introduced to

  • To show special remarks that are valid for a specific location for a specific period
  • Define the text on a location basis and not time series basis

Besides the text of the annotation itself it is possible to define extra properties which belong to the annotation for this see Annotation Metadata Schema

There a 2 different ways of enabling the Annotation Display, both via the explorer task. One without specific config <predefinedDisplay>annotation display</predefinedDisplay> and one with referring to the display config file  <displayConfigFileName>AnnotationDisplay</displayConfigFileName> 

Explorer task
		<explorerTask name="Annotation Display">
			<!--<predefinedDisplay>annotation display</predefinedDisplay>-->
			<displayConfigFileName>AnnotationDisplay</displayConfigFileName>
			<toolbarTask>true</toolbarTask>
			<menubarTask>true</menubarTask>
			<loadAtStartup>true</loadAtStartup>
		</explorerTask>

The config file of the annotation display currently only holds 3 optional elements to add permissions.

Annotation Display
<?xml version="1.0" encoding="UTF-8"?>
<annotationDisplay xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/annotationDisplay.xsd">
	<createPermission>AllowDataEditor</createPermission>
	<editPermission>AllowValueEditor</editPermission>
	<deletePermission>AllowValueEditor</deletePermission>	
</annotationDisplay>

Usage

When configured correctly the Annotation Display will be come visible in the tabs.

By default it will show all annotations for all locations:


  • No labels