...
Code Block | ||||
---|---|---|---|---|
| ||||
<documentViewer> <externalImagesSource> <user>dummy_username</user> <password>dummy_password</password> <externalImages> <timeSeriesFilter> <locationSetId>OPVLWATER_PEILSCHALEN</locationSetId> </timeSeriesFilter> <urlTemplate> <baseUrl>http://dummy_hostname:8080/images</baseUrl> <fileUrl>'%myAttribute%'yyyy/MM/dd'/myimage.gif'</fileUrl> </urlTemplate> </externalImages> </externalImagesSource> <externalImagesSource> <user>dummy_username</user> <password>dummy_password</password> <externalImages> <timeSeriesFilter> <parameterId>myParameter</parameterId> <qualifierId>myQualifier</qualifierId> <locationSetId>RIOOLGEMALEN</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="day"/> <ensembleId>myEnsembleId</ensembleId> </timeSeriesFilter> <urlTemplate> <baseUrl>http://dummy_hostname:8080/images</baseUrl> <fileUrl>'%anotherAttribute%'yyyy/MM/dd'/myimage.gif'</fileUrl> <timeZone>CET</timeZone> < </urlTemplate> </externalImages> </externalImagesSource> </documentViewer> |
...
If your file url is configured like this: '%:LOC_ID%'yyyy/MM/dd'/myimage.gif' then LOC_ID should be available as location attribute for the selected location.
timeZone
it is possible to configure a <timeZone> for the <fileUrl>. When not configured the date will be shown in GMT otherwise in the configred time zone.
How did I migrate to using URL templates?
...