I use a reference to printtask
https://totalapis.github.io/api-reference/esri-tasks-PrintTask.html
but a console.log gives errors:
When I access directly the printask script at:
https://js.arcgis.com/4.27/esri/tasks/PrintTask.js
I get this:
Hi @LefterisKoumis -
The task modules were removed at version 4.24 - see the breaking change list in the release notes for version 4.24: https://developers.arcgis.com/javascript/latest/4.24/#breaking-changes
You're going to need to use the esri/rest/print module: https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html
That API reference page is a copy hosted by someone else that posted the downloaded sdk doc. Esri has no control over that page.
Thank you @LaurenBoyd . It would be helpful for the developers if a note was posted at the printtask page that says "Printtask is deprecated since version 4.24"
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.