AnsweredAssumed Answered

WMS Custom Parameters with ArcServer Print Task

Question asked by Mapjection on Sep 21, 2018

JS.API 3.22
ArcGIS Server 10.4.1


Good day. Just want to confirm a suspicion. My map has a WMS layer that supports a time parameter. I'm using the `WMSLayer.customLayerParameters` property to control the desired time on the GetMap url. It renders on the map as desired.

 

e.g.

https://mysite.com/mywms?SERVICE=WMS&REQUEST=GetMap&TIME=2018-09-21T12%3A00%3A00Z&MOREPARAMS...

 

However, when using the ArcGIS Server "Export Map Web Task", the Web_Map_as_JSON parameter ignores the custom parameters. I've tried manually inserting it, but the server's print task appears to ignore it as well. The default WMS map image is always generated in the printout

 

My guts say what I'm trying to do is simply too fancy for the Export Map Web Task, and I've found a discussion that indicates this is true for ArcGIS Portal ( https://community.esri.com/thread/184676-wms-popup-identify ).

 

If anyone can confirm my suspicions that this also applies to regular ArcServer, or shine light on a trick that will make this work, will be much appreciated.

Outcomes