<?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 Re: Layer Legend shows in Legend widget, but did not show in print. in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240488#M6508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Somehow it works when I use on load to addLayer, instead of addLayer directly. No idea why do I need to do that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var randomStuffDynamicTemplate = {};&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicTemplate[0] = { infoTemplate: randomStuffTemplate };&lt;BR /&gt; var randomStuffDynamicLayer = new ArcGISDynamicMapServiceLayer(randomStuffDynUrl,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{id: "randomStuffDynamicLayer", name: "randomStuff Location", outFields: ["*"] , minScale: randomStuffLocMinVal, imageformat: "png32"});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.setVisibleLayers([0]);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.setInfoTemplates(randomStuffDynamicTemplate);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var randomStuffLayerDefinitions = [];&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffLayerDefinitions[0] = randomStuff_ID;&lt;BR /&gt; &lt;BR /&gt; var randomStuffLayerDrawingOptions= [];&lt;BR /&gt; var randomStuffLayer&lt;SPAN&gt;Drawing&lt;/SPAN&gt;Option = new LayerDrawingOptions();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffLayer&lt;SPAN&gt;Drawing&lt;/SPAN&gt;Option.renderer=randomStuffRenderer;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffLayerDrawingOptions[0] = randomStuffLayer&lt;SPAN&gt;Drawing&lt;/SPAN&gt;Option;&lt;BR /&gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.setLayerDrawingOptions(randomStuffLayerDrawingOptions);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; randomStuffDynamicLayer.setLayerDefinitions(randomStuffLayerDefinitions);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.on("load", lang.hitch(this,addMapThatLayer));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function addMapThatLayer(){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.map.addLayer(randomStuffDynamicLayer);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 15:19:07 GMT</pubDate>
    <dc:creator>Ran_Deng</dc:creator>
    <dc:date>2018-08-21T15:19:07Z</dc:date>
    <item>
      <title>Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240481#M6501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;has anyone encountered issue with the Print widget where the layer legend shows in the legend widget, but it did not show when using print widget to print.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having issue with the print widget, where it prints all the legends that shows in the legend widget except for one layer. what would be the potential cause for this? Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240481#M6501</guid>
      <dc:creator>Ran_Deng</dc:creator>
      <dc:date>2018-08-17T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240482#M6502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kind of layer is it?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 15:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240482#M6502</guid>
      <dc:creator>JohnLucotch2</dc:creator>
      <dc:date>2018-08-20T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240483#M6503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide screenshots of the legend widget as well as how it looks&amp;nbsp;through the print widget?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 15:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240483#M6503</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-08-20T15:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240484#M6504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's dynamic layer. "ArcGISDynamicMapServiceLayer". but somehow only this layer is behaving this way, I republished it few times but still doing the same thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:07:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240484#M6504</guid>
      <dc:creator>Ran_Deng</dc:creator>
      <dc:date>2018-08-20T19:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240485#M6505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&amp;nbsp;&lt;/P&gt;&lt;P&gt;left is from legend widget and right is from the pdf, and the data show up in the map without any issue and no error returned when retrieving the layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/419110_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240485#M6505</guid>
      <dc:creator>Ran_Deng</dc:creator>
      <dc:date>2018-08-20T19:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240486#M6506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this your own org's custom print service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are all the services from your org or do you bring in external services?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240486#M6506</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-08-20T19:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240487#M6507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the services are from within my org, no external services. The print service is the out-of-the-box one that comes with the server and portal, should be the default setting.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240487#M6507</guid>
      <dc:creator>Ran_Deng</dc:creator>
      <dc:date>2018-08-20T19:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Legend shows in Legend widget, but did not show in print.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240488#M6508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Somehow it works when I use on load to addLayer, instead of addLayer directly. No idea why do I need to do that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var randomStuffDynamicTemplate = {};&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicTemplate[0] = { infoTemplate: randomStuffTemplate };&lt;BR /&gt; var randomStuffDynamicLayer = new ArcGISDynamicMapServiceLayer(randomStuffDynUrl,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{id: "randomStuffDynamicLayer", name: "randomStuff Location", outFields: ["*"] , minScale: randomStuffLocMinVal, imageformat: "png32"});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.setVisibleLayers([0]);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.setInfoTemplates(randomStuffDynamicTemplate);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var randomStuffLayerDefinitions = [];&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffLayerDefinitions[0] = randomStuff_ID;&lt;BR /&gt; &lt;BR /&gt; var randomStuffLayerDrawingOptions= [];&lt;BR /&gt; var randomStuffLayer&lt;SPAN&gt;Drawing&lt;/SPAN&gt;Option = new LayerDrawingOptions();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffLayer&lt;SPAN&gt;Drawing&lt;/SPAN&gt;Option.renderer=randomStuffRenderer;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffLayerDrawingOptions[0] = randomStuffLayer&lt;SPAN&gt;Drawing&lt;/SPAN&gt;Option;&lt;BR /&gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.setLayerDrawingOptions(randomStuffLayerDrawingOptions);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; randomStuffDynamicLayer.setLayerDefinitions(randomStuffLayerDefinitions);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomStuffDynamicLayer.on("load", lang.hitch(this,addMapThatLayer));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function addMapThatLayer(){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.map.addLayer(randomStuffDynamicLayer);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 15:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-legend-shows-in-legend-widget-but-did-not/m-p/240488#M6508</guid>
      <dc:creator>Ran_Deng</dc:creator>
      <dc:date>2018-08-21T15:19:07Z</dc:date>
    </item>
  </channel>
</rss>

