<?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 WAB Printing Legend issues: Query Result Layer in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495934#M13029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a query using the Query widget and added the result as an operational layer to my map. The legend looks ok in the Legend widget but I don't understand why it's showing a label "Override 1" next to the legend patch in the printed map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as you can see on the attached image, the symbol for the original map layer (polygon, no fill, pink outlines) is missing from the legend.&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/170405_Capture.PNG" style="width: 620px; height: 414px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a possible solution? Monika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2016 19:26:50 GMT</pubDate>
    <dc:creator>MonikaHonkova2</dc:creator>
    <dc:date>2016-01-18T19:26:50Z</dc:date>
    <item>
      <title>WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495934#M13029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a query using the Query widget and added the result as an operational layer to my map. The legend looks ok in the Legend widget but I don't understand why it's showing a label "Override 1" next to the legend patch in the printed map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as you can see on the attached image, the symbol for the original map layer (polygon, no fill, pink outlines) is missing from the legend.&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/170405_Capture.PNG" style="width: 620px; height: 414px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a possible solution? Monika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 19:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495934#M13029</guid>
      <dc:creator>MonikaHonkova2</dc:creator>
      <dc:date>2016-01-18T19:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495935#M13030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monika,&lt;/P&gt;&lt;P&gt;Did you ever find a solution for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495935#M13030</guid>
      <dc:creator>NedCake1</dc:creator>
      <dc:date>2016-03-14T20:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495936#M13031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of today, 8/25/16, this is still an issue. Hard to find anything on this so I thought I'd reply here to keep attention to the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ESRI Suggested work around&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Publish the feature layer with a fill. Then make it hollow/transparent in the web app viewer.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 17:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495936#M13031</guid>
      <dc:creator>NickToscano</dc:creator>
      <dc:date>2016-08-25T17:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495937#M13032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code snippet, please?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2018 00:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495937#M13032</guid>
      <dc:creator>davetinkle</dc:creator>
      <dc:date>2018-01-20T00:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495938#M13033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue still persists.&amp;nbsp; It appears the outlines do not show for query results, on the fill.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 15:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495938#M13033</guid>
      <dc:creator>JustinPence2</dc:creator>
      <dc:date>2018-06-15T15:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495939#M13034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI: this issue is fixed in 10.6 out of the box print service (i.e &lt;A href="http://machine/arcgis/rest/services/Utilities/PrintTools/.."&gt;http://machine/arcgis/rest/services/Utilities/PrintTools/..&lt;/A&gt;.) or if you publish a print service from ArcGIS Pro 2.1 to ArcGIS Server 10.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just for a quick try, you can use the following print service off a sample server:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://enterprise.arcgis.com/en/server/latest/get-started/windows/what-s-new-in-arcgis-for-server.htm#ESRI_SECTION1_325FBCCBACF54D62A9E27745C15D50C6" title="http://enterprise.arcgis.com/en/server/latest/get-started/windows/what-s-new-in-arcgis-for-server.htm#ESRI_SECTION1_325FBCCBACF54D62A9E27745C15D50C6"&gt;What's new in ArcGIS Server 10.6 — Improved Print Service&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 16:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495939#M13034</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-06-15T16:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495940#M13035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good, to know, I am still on 10.5, so I'll need to upgrade in the future.&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 17:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495940#M13035</guid>
      <dc:creator>JustinPence2</dc:creator>
      <dc:date>2018-06-15T17:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495941#M13036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide a clear demonstration why you believe this is fixed? I used the sample server url as suggested, but as you can see in my attachment, it is not working.&lt;IMG alt="override showing in legend; not value of map point" class="image-1 jive-image j-img-original" src="/legacyfs/online/412129_bad legend.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you - or anyone else subscribed to this thread - know of a way to use the print service &amp;amp; get intended, bug-free results? Simply put, displaying "Override 1" is unacceptable, and no one appears to be motivated to explain what's gone wrong, and when it's going to be fixed. I have submitted my code to the support developers, and they have been able to reproduce my error, and did not have a work-around or advice if my coding was incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looking forward to your reply on my 2 questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 13:43:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495941#M13036</guid>
      <dc:creator>davetinkle</dc:creator>
      <dc:date>2018-06-25T13:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495942#M13037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the symbology was fixed, specifically when there is a polygon involved, it now shows the outline.&amp;nbsp; If my polygonal data did not have a fill and was completely transparent, the symbology would not appear in the legend.&amp;nbsp; If it had a fill and and outline, the fill would show up, but not the outline.&amp;nbsp; I think that issue is now fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Labeling is a different story.&amp;nbsp; The labeling appears to be fine for a normal web layer.&amp;nbsp; When I run a query, I get the layer name with _QueryResult at the end.&amp;nbsp; Speaking with a few of the engineers at the UC, this can't be changed yet...but might be in a future release.&amp;nbsp; If "Override" isn't the actual layer name, and is of another error, I haven't experienced that yet.&amp;nbsp; Wish I could be more help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 20:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495942#M13037</guid>
      <dc:creator>JustinPence2</dc:creator>
      <dc:date>2018-07-25T20:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495943#M13038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/308138"&gt;dave tinkle&lt;/A&gt; My apologizes for delayed response (somehow I didn't see the email notification of your reply).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which client app did you use - is that a custom JS API app or WAB app? Either way, could you pls try with the latest version of that client app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for custom JS API, pls update to its latest version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if it the map viewer from ArcGIS Online, then it should work as of today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for on-premises Portal map viewer/Web App Builder, you need to upgrade to 10.6.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Simply put, displaying "Override 1" is unacceptable, and no one appears to be motivated to explain what's gone wrong&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In short, it was a side effect to work-around technical limitations&amp;nbsp;with regards to color level transparency that was not supported by Windows GDI --&amp;nbsp; a print service heavily relied on GDI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print services, &lt;EM&gt;that get installed out of the box in 10.6 (or above) or when you publish your own print service from ArcGIS Pro 2.1 to ArcGIS Enterprise 10.6 (or above)&lt;/EM&gt;, don't rely on GDI at all hence you should not run into this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 23:48:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495943#M13038</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-07-30T23:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495944#M13039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using JS API, and have upgraded every time in the hope someone would have fixed this. So that would make it 4.8 version. It's a known bug. I have a ticket. I don't know anything about GDI. All I know is I followed the API &amp;amp; printing a legend for a PDF is advertised as part of its core functionality, but it simply does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 11:44:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495944#M13039</guid>
      <dc:creator>davetinkle</dc:creator>
      <dc:date>2018-07-31T11:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495945#M13040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave, sorry to hear that. Could you pls pass me your ticket #? and if possible, pls share the webmap_as_json string that gets sent to&amp;nbsp;your print service from your app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 16:51:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495945#M13040</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-07-31T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495946#M13041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, our code has branched too many times to retrieve what was causing it to fail. It would be very disruptive to revert, compile, deploy, trap packets &amp;amp; put it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don’t have a ticket number, but do have Case #02114883 &amp;amp; bug #BUG-000114062&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you ask b/c you are part of the development team?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 15:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495946#M13041</guid>
      <dc:creator>davetinkle</dc:creator>
      <dc:date>2018-08-01T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495947#M13042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dave for sharing the bug#. I took a look and I noticed you are using featureCollection instead of featureLayer, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like there is an issue with featureCollection especially when it gets serialized into the json that gets sent to a print service. I have informed the appropriate team and they said they would take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, would it be possible to give it a try with a featurelayer (instead of a featureCollection)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls see the json below that uses featureLayer.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 13px;"&gt;&lt;SPAN&gt;{ "operationalLayers": [{ "id": "dark-gray-base-layer", "title": "World Dark Gray Base", "opacity": 1, "minScale": 0, "maxScale": 0, "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FCanvas%2FWorld_Dark_Gray_Base%2FMapServer" rel="nofollow" target="_blank"&gt;https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer&lt;/A&gt;&lt;SPAN&gt;", "token": null }, { "id": "Cities", "title": "Cities", "opacity": 1, "minScale": 0, "maxScale": 0, "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgis.com%2FWl7Y1m92PbjtJs5n%2FArcGIS%2Frest%2Fservices%2FCaliforniaaa%2FFeatureServer%2F4" rel="nofollow" target="_blank"&gt;https://services.arcgis.com/Wl7Y1m92PbjtJs5n/ArcGIS/rest/services/Californiaaa/FeatureServer/4&lt;/A&gt;&lt;SPAN&gt;", "token": null, "layerDefinition": {"drawingInfo": { "renderer": { "symbol": { "type": "esriSMS", "color": [0, 0, 0, 255], "xoffset": 0, "yoffset": 0, "size": 6, "style": "esriSMSCircle", "outline": { "type": "esriSLS", "color": [255, 255, 255, 255], "width": 0.5, "style": "esriSLSSolid" } }, "type": "simple" } } } }, { "id": "dark-gray-reference-layer", "title": "World Dark Gray Reference", "opacity": 1, "minScale": 0, "maxScale": 0, "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FCanvas%2FWorld_Dark_Gray_Reference%2FMapServer" rel="nofollow" target="_blank"&gt;https://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Reference/MapServer&lt;/A&gt;&lt;SPAN&gt;", "token": null }], "mapOptions": { "extent": { "spatialReference": { "latestWkid": 3857, "wkid": 102100 }, "xmin": -18971512.898950197, "ymin": 1292277.143967695, "xmax": -186348.82759027556, "ymax": 8004059.723630667 }, "spatialReference": { "latestWkid": 3857, "wkid": 102100 }, "scale": 73957190.948944 }, "exportOptions": { "dpi": 96 }, "layoutOptions": { "titleText": "Esri test reproduction", "authorText": "Esri", "copyrightText": "Esri inc", "customTextElements": [], "scaleBarOptions": {&amp;nbsp; }, "legendOptions": { "operationalLayers": [{ "id": "Cities" }] } } }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... if you use this json as a value to WebMap_as_JSON parameter with the &lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute"&gt;print service available on sampleserver6&lt;/A&gt;, and execute, you will get the following output.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/417699_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know if you have any question. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 22:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495947#M13042</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2018-08-02T22:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495948#M13043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I delayed my response because I was assured this would be fixed in the next API release [how an unrelated Print service is related to an API release is still unclear to me].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never used a FeatureCollection.&lt;/P&gt;&lt;P&gt;I have always used FeatureLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To date, it still is NOT fixed, and does NOT appear to be correlated to the javascript API version, currently 4.11. I am using 4.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain both&lt;/P&gt;&lt;P&gt;[1] why it isn't fixed, and feel free to correct me if it is&lt;/P&gt;&lt;P&gt;[2] if there is a work around so when I print [using the print task, NOT the print widget], my legend also prints. The end resultant PNG/PDF **must, must, must** have the legend on the final product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 19:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495948#M13043</guid>
      <dc:creator>davetinkle</dc:creator>
      <dc:date>2019-05-03T19:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495949#M13044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;apologies for the late reply. was extremely busy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it appears to me that this bug might not&amp;nbsp;have fixed yet. I have contacted JS API team and hope to get back to you soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 23:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495949#M13044</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2019-06-07T23:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495950#M13045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to hear about this ongoing issue. I'd like to investigate your use case and see where the trouble is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Printing a FeatureLayer from a URL or portalItem should be fine. Printing a FeatureLayer from a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source"&gt;Collection &lt;/A&gt;can be an issue. However, based on the screenshot supplied above, I believe what is being added to the map is a GraphicsLayer. Can you confirm?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently looking into the Bug # and Case # that you referenced above to try to understand better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Noah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 16:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495950#M13045</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-06-10T16:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495951#M13046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[replied to email that assured me it would be posted here, but it did not, so i'm posting directly now w/ my emailed response from yesterday]&lt;/P&gt;&lt;P&gt;---------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hi Noah,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Using a FeatureLayer. Here’s the simple fn I wrote that first revealed the issue [not drop-in ready, but close enough]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: #E8F2FE; font-size: 10.0pt; "&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: #E8F2FE;"&gt; printSubmit()&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; require([&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"esri/tasks/PrintTask"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"esri/tasks/support/PrintTemplate"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"esri/tasks/support/PrintParameters"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"esri/tasks/support/LegendLayer"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;(PrintTask, PrintTemplate, PrintParameters, LegendLayer) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disableButton(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;'downloadButton'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;'disableSubmitButton'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;'canAddMapToCad'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;'canAddToCad'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; showDownloadProgressBar();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; pt = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; PrintTask({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: printTaskUrl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; template = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; PrintTemplate();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; d = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; Date();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; mm = d.getMonth() + 1; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; (mm &amp;lt; 10) mm = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;'0'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; + mm;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; dd = d.getDate(); &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; (dd &amp;lt; 10) dd = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;'0'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; + dd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; yyyy = d.getFullYear();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; legendLayers = [];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #3f7f5f; background: white;"&gt;// for now, do not show legend, as there's a known bug where 'Override 1' is displayed, instead of layer id/store type description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #3f7f5f; background: white;"&gt;// ref: &lt;A _jive_internal="true" href="https://community.esri.com/thread/170974"&gt;https://community.esri.com/thread/170974&lt;/A&gt; &amp;amp; &lt;A _jive_internal="true" href="https://community.esri.com/thread/101287"&gt;https://community.esri.com/thread/101287&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.allLayers.forEach(&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;function&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;(item, i) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; (item.declaredClass == &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;"esri.layers.FeatureLayer"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; l = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; "&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; LegendLayer({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerId: item.id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;" "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; legendLayers.push(l);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; })&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.layoutOptions = {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; titleText: mapTitle,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; authorText: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;"ALERT Report Generated: "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; + mm + &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;"/"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; + dd + &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;"/"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; + yyyy,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copyrightText: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff; background: white;"&gt;"SBU - Sensitive But Unclassified"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; legendLayers: legendLayers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.format = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"png32"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.exportOptions = {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: $(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"#mapDiv"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;).width(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: $(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"#mapDiv"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;).height()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; pp = &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; PrintParameters();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pp.view = view;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pp.template = template;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pt.execute(pp).then(printComplete, printError);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;})}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hope this helps in your investigation. We’re still obliged to provide this service, so the ticket’s still valid. There is no workaround to the best of my knowledge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495951#M13046</guid>
      <dc:creator>davetinkle</dc:creator>
      <dc:date>2019-06-11T16:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495952#M13047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone had a final solution for this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2020 21:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/495952#M13047</guid>
      <dc:creator>TUANNGUYEN1</dc:creator>
      <dc:date>2020-02-24T21:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: WAB Printing Legend issues: Query Result Layer</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/1034575#M20429</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, the fifth (!) anniversary of this issue has passed. &lt;STRONG&gt;Why is this problem still not resolved?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 18:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-printing-legend-issues-query-result-layer/m-p/1034575#M20429</guid>
      <dc:creator>LarsDe_Sloover</dc:creator>
      <dc:date>2021-03-09T18:14:15Z</dc:date>
    </item>
  </channel>
</rss>

