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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.