<?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: Using custom print service in app: legend doesn't show any layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691406#M88312</link>
    <description>&lt;P&gt;Hi Noah,&lt;/P&gt;&lt;P&gt;Yes, it worked after adding the legend options in the ArcGIS Pro layout and making sure I was pointing to the right folder with the updated layout in the Export Web Map/Get Layout Templates Info geoprocessing steps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-18 185807.PNG.jpg" style="width: 317px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/150017i10C561B5ABEA9D10/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-03-18 185807.PNG.jpg" alt="Screenshot 2026-03-18 185807.PNG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2026 15:14:35 GMT</pubDate>
    <dc:creator>BrandonPrice1</dc:creator>
    <dc:date>2026-03-23T15:14:35Z</dc:date>
    <item>
      <title>Using custom print service in app: legend doesn't show any layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691164#M88304</link>
      <description>&lt;P&gt;I created a custom print service on a stand-alone server that's used in my ArcGIS JS SDK app (in beta): &lt;A href="https://brandonlprice.github.io/land_use_generator/custom_buffer_tool%20(1).html" target="_blank" rel="noopener"&gt;Clustering - query clusters | Sample | ArcGIS Maps SDK for JavaScript&lt;/A&gt;. Users can zoom all the way in and select a parcel in the map. Then they can click a popup action to create some layers.&lt;/P&gt;&lt;P&gt;Only issue now is the legend. I wasn’t sure how I would get the legend to come through prior to creating the service. After creating it (&lt;A href="https://rpgis.isd.lacounty.gov/arcgis/rest/services/ExportWebMap/GPServer/Export%20Web%20Map" target="_blank" rel="noopener"&gt;Task: Export Web Map&lt;/A&gt;), I’m still not sure (fyi-legend does show using the default print utility).&lt;/P&gt;&lt;P&gt;Not sure if this code needs to be adjusted or it just isn't possible. Does anyone else know?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const print = new Print({
  view: view,
  printServiceUrl: "https://rpgis.isd.lacounty.gov/arcgis/rest/services/ExportWebMap/GPServer/Export%20Web%20Map",
  templateOptions: {
    title: "EXISTING LAND USE",
    format: "pdf",
    layout: "Landscape_8.5x11_LU_Map", // Ensure you use a layout template, not MAP_ONLY
	attributionEnabled: false, 
	dynamicLegendEnabled: true
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2026-03-17 173116.png" style="width: 708px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/149976i98721744FD065170/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-03-17 173116.png" alt="Screenshot 2026-03-17 173116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 00:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691164#M88304</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2026-03-18T00:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using custom print service in app: legend doesn't show any layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691263#M88307</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/358954"&gt;@BrandonPrice1&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. It seems to work okay today. Did something change?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="app" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/149989i03BEC2D83FC2B139/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-03-18 at 9.50.57 AM.png" alt="app" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;app&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="prinout" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/149988i0D22465E2055F5FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-03-18 at 9.51.40 AM.png" alt="prinout" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;prinout&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 14:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691263#M88307</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-03-18T14:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using custom print service in app: legend doesn't show any layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691406#M88312</link>
      <description>&lt;P&gt;Hi Noah,&lt;/P&gt;&lt;P&gt;Yes, it worked after adding the legend options in the ArcGIS Pro layout and making sure I was pointing to the right folder with the updated layout in the Export Web Map/Get Layout Templates Info geoprocessing steps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-18 185807.PNG.jpg" style="width: 317px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/150017i10C561B5ABEA9D10/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-03-18 185807.PNG.jpg" alt="Screenshot 2026-03-18 185807.PNG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 15:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-custom-print-service-in-app-legend-doesn-t/m-p/1691406#M88312</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2026-03-23T15:14:35Z</dc:date>
    </item>
  </channel>
</rss>

