Select to view content in your preferred language

printWidget, printServiceUrl on own server

121
1
08-06-2024 12:20 AM
KaiBehncke
Occasional Contributor

Dear users,

I successfully use the printWidget in my JS Maps SDK. I use it like:

 const print = new Print({
view: view,
printServiceUrl:
"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",
allowedLayouts: ["a3-landscape", "a3-portrait","a4-landscape", "a4-portrait" ],
allowedFormats: ["jpg", "png8", "png32","pdf"],
templateOptions: {
title: "Datenausdruck",
author: "Stadt Ibbenbüren",
copyright: "",
legendEnabled: false
}
});
view.ui.add(print, {
  position: "top-right"
});	

 

I would like to have the printService on our own server. Is that possible? What do I have to do for that? Do I need an own ArcGIS Server instance for that?

0 Kudos
1 Reply
JoelBennett
MVP Regular Contributor

Yes, the PrintingTools service is a built-in service that comes with ArcGIS Server, so if you want to host it, you would need to install and license ArcGIS Server on your own server.  More information is available here.

0 Kudos