I've started to play with the new Print functionality at 10.1, and I'm getting an error when trying to create a PrintTemplate object. I just copied the code snippet and I get undefined.
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.
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.
I did. I just had it in the wrong place. D'oh! Thanks.
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.