Select to view content in your preferred language

Print widget calling asynchronous export map service

311
0
08-02-2023 08:42 AM
MichailMarinakis1
Occasional Contributor II

Hi all, 

we are instantiating the default print widget 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 every time we instantiate the widget, our ArcGIS Server logs are "polluted" with this message: 

"Error performing execute operation Error handling service request :Request type is not supported. 'Execute' asynchronous GP service."

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.

Can you please help us with that? The problem here is that we have a lot of users that use the print widget,  and it becomes difficult to read the log files in case of a real emergency. 

Thank you in advance. 

(tagging some people that might find this information relevant 😀 )

@HeatherGonzago 

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. 

0 Kudos
0 Replies