Versions Compared

Key

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

...

In the below example for an explorerTask references are made to:

  • %VJDBC%WEB_SERVICE_PORT%, the actual JDBC port number
  • %PORT%, same as VJDBC_PORT
  • port where the embedded web service is running. This port is also written to the third line in running file in the region home
  • %HOSTNAME%, the actual JDBC host, returned as IP adress
  • %REGION_HOME%, internal variable of FEWS: returns the current FEWS application directory
  • %FEWSDIR%, internal variable of FEWS: returns reference to the current FEWS application directory
  • $ART_VERSCHIL_EXE$, a variable from the global properties

    Code Block
    xml
    xml
    <explorerTask name="Art_Verschil tool">
      <iconFile>%FEWSDIR%/icons/matlab.ico</iconFile>
      <mnemonic>B</mnemonic>
      <arguments>/VJDBC_HOST=localhost /VJDBC_PORT=@VJDBC_PORT@</arguments>
      <workDir>%REGION_HOME%/Modules/Art_Verschil</workDir>
      <taskExe>$ART_VERSCHIL_EXE$</taskExe>
      <toolbarTask>true</toolbarTask>
      <menubarTask>true</menubarTask>
      <accelerator>ctrl B</accelerator>
    </explorerTask>
    


...

With this setting the username and usergroup can be made visible in the FEWS Explorer statusbar (bottom left). By default the userName and userGroup elements are set to false.
 
scheduledTaskEndWarning
Optional field. It gives a warning when a manually scheduled task is close to reaching the last repetition. You need to configure a time span (how much time before the end would you like the warning to appear) and a colour. (The background colour of tasks that are about to expire will change to this colour.)

...

Code Block
languagexml
<localDatum>someLocalDatum</localDatum>

 

dateTimeFormat

Format definition for time strings in displays (e.g. yyyy-MM-dd HH:mm:ss is resolved to 2004-07-03 10:43:26)

...