<?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 Print widget no longer respects allowedFormats after update to 4.31 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558068#M86061</link>
    <description>&lt;P&gt;We have a custom app that was built using version 4.30 and includes the Print Widget.&amp;nbsp; The widget was configured to only allow the UK A4 and A3 paper sizes via the following code:&lt;/P&gt;&lt;PRE&gt;printServiceUrl:&lt;BR /&gt;"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",&lt;BR /&gt;allowedFormats: ["jpg","png32"], &lt;BR /&gt;allowedLayouts: ["a4-landscape", "a4-portrait","a3-landscape", "a3-portrait" ]&lt;/PRE&gt;&lt;P&gt;Since the upgrade to 4.31, the print widget now shows the two Letter and Tabloid paper sizes.&lt;/P&gt;&lt;P&gt;This isn't a problem with our custom app, because the exact same behaviour can be replicated in the Esri sandbox:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-print" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-print&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MappyIan_0-1731512102914.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119404iE9C516D20F4866AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MappyIan_0-1731512102914.png" alt="MappyIan_0-1731512102914.png" /&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-inline" image-alt="MappyIan_1-1731512118411.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119405iA55D8E6B3C47D33C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MappyIan_1-1731512118411.png" alt="MappyIan_1-1731512118411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 15:35:46 GMT</pubDate>
    <dc:creator>MappyIan</dc:creator>
    <dc:date>2024-11-13T15:35:46Z</dc:date>
    <item>
      <title>Print widget no longer respects allowedFormats after update to 4.31</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558068#M86061</link>
      <description>&lt;P&gt;We have a custom app that was built using version 4.30 and includes the Print Widget.&amp;nbsp; The widget was configured to only allow the UK A4 and A3 paper sizes via the following code:&lt;/P&gt;&lt;PRE&gt;printServiceUrl:&lt;BR /&gt;"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",&lt;BR /&gt;allowedFormats: ["jpg","png32"], &lt;BR /&gt;allowedLayouts: ["a4-landscape", "a4-portrait","a3-landscape", "a3-portrait" ]&lt;/PRE&gt;&lt;P&gt;Since the upgrade to 4.31, the print widget now shows the two Letter and Tabloid paper sizes.&lt;/P&gt;&lt;P&gt;This isn't a problem with our custom app, because the exact same behaviour can be replicated in the Esri sandbox:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-print" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-print&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MappyIan_0-1731512102914.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119404iE9C516D20F4866AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MappyIan_0-1731512102914.png" alt="MappyIan_0-1731512102914.png" /&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-inline" image-alt="MappyIan_1-1731512118411.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119405iA55D8E6B3C47D33C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MappyIan_1-1731512118411.png" alt="MappyIan_1-1731512118411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 15:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558068#M86061</guid>
      <dc:creator>MappyIan</dc:creator>
      <dc:date>2024-11-13T15:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget no longer respects allowedFormats after update to 4.31</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558113#M86063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/476936"&gt;@MappyIan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;We are aware of this behavior and have&amp;nbsp;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;BUG-000172226 logged for this issue. Please reach out to Technical Support if you wish to be attached to the bug and follow along with its progress.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Katie&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 16:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558113#M86063</guid>
      <dc:creator>KathrynWalker</dc:creator>
      <dc:date>2024-11-13T16:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget no longer respects allowedFormats after update to 4.31</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558518#M86069</link>
      <description>&lt;P&gt;Thanks Katie, good to know it's in hand.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 09:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-no-longer-respects-allowedformats/m-p/1558518#M86069</guid>
      <dc:creator>MappyIan</dc:creator>
      <dc:date>2024-11-14T09:39:08Z</dc:date>
    </item>
  </channel>
</rss>

