var template = new esri.tasks.PrintTemplate();
Are you using the print task or the print dijit? Make sure you have a dojo.require for whichever you're using and the print template should be available.
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.