Hi,
I know it is easy to use an instance of a WebMap to send it to the ExportWebMap REST Endpoint of the ArcGIS Server Print Service. (https://developers.arcgis.com/rest/services-reference/enterprise/exportwebmap-specification/)But when I got an instance of a Map and can´t use the Print Widget of the ESRI JS API. In 3.x there was an _getPrintDefinition() in the esri/tasks/PrintTaskhttps://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-the-webmap-from-javascript-api-esri-map/m-p/292639#M26864Is there any hidden function in 4.x that does the conversion for me?Thanks!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.