<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WMS Custom Parameters with ArcServer Print Task in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-custom-parameters-with-arcserver-print-task/m-p/522061#M48658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JS.API 3.22&lt;BR /&gt;ArcGIS Server 10.4.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="https://mysite.com/mywms?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;TIME=2018-09-21T12%3A00%3A00Z&amp;amp;MOREPARAMS.."&gt;https://mysite.com/mywms?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;TIME=2018-09-21T12%3A00%3A00Z&amp;amp;MOREPARAMS..&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when using the ArcGIS Server "Export Map Web Task", the Web_Map_as_JSON parameter ignores the custom parameters. I've tried manually&amp;nbsp;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 ( &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2129" data-containertype="14" data-objectid="184676" data-objecttype="1" href="https://community.esri.com/thread/184676-wms-popup-identify"&gt;https://community.esri.com/thread/184676-wms-popup-identify&lt;/A&gt;&lt;SPAN&gt; ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 20:01:46 GMT</pubDate>
    <dc:creator>james-rae</dc:creator>
    <dc:date>2018-09-21T20:01:46Z</dc:date>
    <item>
      <title>WMS Custom Parameters with ArcServer Print Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-custom-parameters-with-arcserver-print-task/m-p/522061#M48658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JS.API 3.22&lt;BR /&gt;ArcGIS Server 10.4.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="https://mysite.com/mywms?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;TIME=2018-09-21T12%3A00%3A00Z&amp;amp;MOREPARAMS.."&gt;https://mysite.com/mywms?SERVICE=WMS&amp;amp;REQUEST=GetMap&amp;amp;TIME=2018-09-21T12%3A00%3A00Z&amp;amp;MOREPARAMS..&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when using the ArcGIS Server "Export Map Web Task", the Web_Map_as_JSON parameter ignores the custom parameters. I've tried manually&amp;nbsp;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 ( &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2129" data-containertype="14" data-objectid="184676" data-objecttype="1" href="https://community.esri.com/thread/184676-wms-popup-identify"&gt;https://community.esri.com/thread/184676-wms-popup-identify&lt;/A&gt;&lt;SPAN&gt; ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 20:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-custom-parameters-with-arcserver-print-task/m-p/522061#M48658</guid>
      <dc:creator>james-rae</dc:creator>
      <dc:date>2018-09-21T20:01:46Z</dc:date>
    </item>
  </channel>
</rss>

