Select to view content in your preferred language

How to Add a Layer with Date Parameter to a WebMap

686
1
06-02-2018 01:13 PM
NeilJohnston1
Emerging Contributor

Using ArcGIS Online WebMaps is there a way to add a parameter with the value for the current date?
I have a WMS endpoint of: 
http://cwfis.cfs.nrcan.gc.ca/geoserver/public/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=im... 

And as you'll note there is a current date in the URL (in bold).  Is there a way to add the current date in the YYYYMMDD format to the parameter values via WMS OGC options?

Thanks,

Neil

0 Kudos
1 Reply
KellyGerrow
Esri Alum

Try using custom parameters if there is a key pair relationship for this parameter:

Improved OGC Client Capabilities using Custom Parameters (September 2016) 

Add layers—ArcGIS Online Help | ArcGIS 

-Kelly

0 Kudos