Select to view content in your preferred language

Custom Print Service Not working in ExB

274
3
05-01-2025 11:31 PM
LakshmiRajeevKumar
Emerging Contributor

Hi,

I’ve been trying to get our custom print service working for some time now. The issue started when it wouldn’t publish to the portal due to compatibility problems between ArcGIS Pro and Enterprise versions. Now, with ArcGIS Pro 2.9 (the version that allows publishing a custom print layout in .pagx format as a print web tool), I’m able to publish the layout, but only the default "MAP_ONLY" layout works.

My custom layout is accessible in the widget, but when attempting to export it, it fails to produce the expected PDF/PNG output. Here is the error from the server log:

Unable to complete operation.
Error executing tool. Export Web Map: error raised... C:\arcgis\arcgisserver\directories\arcgisjobs\custom_layout_print_gpserver\j2568f1952b9049f6b0e4bcb12d626160\scratch\f542f49e-271c-11f0-a85b-000d3aa203d7.png C:\arcgis\arcgisserver\directories\arcgisjobs\custom_layout_print_gpserver\j2568f1952b9049f6b0e4bcb12d626160\scratch\f542f49e-271c-11f0-a85b-000d3aa203d7.png Failed to execute (Export Web Map).

I’ve tried removing the logo images from the layout and republishing it, but the error still occurs. When I use the https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%..., the common print service it works fine, but it doesn't offer the option to customize the layout.

It would be really helpful if someone could guide me through resolving this issue. Our clients are eagerly waiting for this widget to work in our application. I am adding the screenshot of what the clients see when trying to run the print widget. In WAB also the same issue persists. There is no other indication of any errors in the developer console or anything.

LakshmiRajeevKumar_0-1746167299460.png

 

Thanks in advance for your help!

0 Kudos
3 Replies
MichaelVolz
Esteemed Contributor

Is your A3_layout in a location registered with Portal?

0 Kudos
LakshmiRajeevKumar
Emerging Contributor

I published it according to the documentation and it was available in the utility but not working. I am sorry i might sound dumb but  i am new with this stuff. How do i know if the location is registered /  how to put it in a location registered with portal.

0 Kudos
rcGIS
by
Frequent Contributor

Hello @LakshmiRajeevKumar,

Are you using Web AppBuilder and/or Experience Builder from ArcGIS Online or ArcGIS Enterprise? 

Can you print from your WAB/ExB print widget when using the PrintingTools service from your ArcGIS Server site (which is not your custom print service)? Context.

0 Kudos