<?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 calling asynchronous export map service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-calling-asynchronous-export-map/m-p/1314628#M81843</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are instantiating the default &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html" target="_self"&gt;print widget&lt;/A&gt; for a web app, by populating the printServiceUrl. Our printing service is set to asynchronous execution mode. JavaScript SDK version is 4.27 and ArcGIS Server is 11.1. Everything is working fine, but&amp;nbsp;every time we instantiate the widget, our ArcGIS Server logs are "polluted" with this message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Error performing execute operation Error handling service request :Request type is not supported. 'Execute' asynchronous GP service."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We checked a bit the code, it seems that it is coming from the PrintingViewModel class, when it is trying to load the resources of the service.&lt;/P&gt;&lt;P&gt;Can you please help us with that? The problem here is that we have a lot of users that use the print widget,&amp;nbsp; and it becomes difficult to read the log files in case of a real emergency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(tagging some people that might find this information relevant&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt; )&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/994"&gt;@HeatherGonzago&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: We detected something else too. We are having some custom templates and when the printViewModel._getPrintTemplatesFromService is executed, the choiceList is resorted and the defaultValue is changing for some reason. So the default value is a specific template and not the first one. The choicelist is not as it is on the server.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 09:57:26 GMT</pubDate>
    <dc:creator>MichailMarinakis1</dc:creator>
    <dc:date>2023-08-03T09:57:26Z</dc:date>
    <item>
      <title>Print widget calling asynchronous export map service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-calling-asynchronous-export-map/m-p/1314628#M81843</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are instantiating the default &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html" target="_self"&gt;print widget&lt;/A&gt; for a web app, by populating the printServiceUrl. Our printing service is set to asynchronous execution mode. JavaScript SDK version is 4.27 and ArcGIS Server is 11.1. Everything is working fine, but&amp;nbsp;every time we instantiate the widget, our ArcGIS Server logs are "polluted" with this message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Error performing execute operation Error handling service request :Request type is not supported. 'Execute' asynchronous GP service."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We checked a bit the code, it seems that it is coming from the PrintingViewModel class, when it is trying to load the resources of the service.&lt;/P&gt;&lt;P&gt;Can you please help us with that? The problem here is that we have a lot of users that use the print widget,&amp;nbsp; and it becomes difficult to read the log files in case of a real emergency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(tagging some people that might find this information relevant&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt; )&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/994"&gt;@HeatherGonzago&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: We detected something else too. We are having some custom templates and when the printViewModel._getPrintTemplatesFromService is executed, the choiceList is resorted and the defaultValue is changing for some reason. So the default value is a specific template and not the first one. The choicelist is not as it is on the server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 09:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-calling-asynchronous-export-map/m-p/1314628#M81843</guid>
      <dc:creator>MichailMarinakis1</dc:creator>
      <dc:date>2023-08-03T09:57:26Z</dc:date>
    </item>
  </channel>
</rss>

