Select to view content in your preferred language

Print widget no longer respects allowedFormats after update to 4.31

444
2
Jump to solution
11-13-2024 07:35 AM
MappyIan
Frequent Contributor

We have a custom app that was built using version 4.30 and includes the Print Widget.  The widget was configured to only allow the UK A4 and A3 paper sizes via the following code:

printServiceUrl:
"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",
allowedFormats: ["jpg","png32"],
allowedLayouts: ["a4-landscape", "a4-portrait","a3-landscape", "a3-portrait" ]

Since the upgrade to 4.31, the print widget now shows the two Letter and Tabloid paper sizes.

This isn't a problem with our custom app, because the exact same behaviour can be replicated in the Esri sandbox: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-print

MappyIan_0-1731512102914.png

 

MappyIan_1-1731512118411.png

 

0 Kudos
1 Solution

Accepted Solutions
KathrynWalker
Esri Contributor

Hi @MappyIan,

We are aware of this behavior and have 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.

Thank you,
Katie 

View solution in original post

2 Replies
KathrynWalker
Esri Contributor

Hi @MappyIan,

We are aware of this behavior and have 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.

Thank you,
Katie 

MappyIan
Frequent Contributor

Thanks Katie, good to know it's in hand.

0 Kudos