Print Dijit / Print Web Map Task Error

796
2
07-15-2013 12:33 PM
EricKriener
Occasional Contributor
I'm trying to incorporate the print sample found here: https://developers.arcgis.com/en/javascript/jssamples/widget_print_esri_request.html into a tweaked version of the polling place app and am getting the following error when I choose a map template from the drop-down:

Uncaught TypeError: Cannot read property 'layerIds' of undefined PrintTask.xd.js:19

Any help on this one?

Thanks!
Eric
0 Kudos
2 Replies
VernWolfley
New Contributor III
I am getting the same error did you ever find a solution?

Uncaught TypeError: Cannot read property 'layerIds' of undefined
0 Kudos
EricKriener
Occasional Contributor
It's working now, but I don't remember exactly what fixed it.

I think it had to do with getting the proxy working.
Have you done that yet?

This is how I fixed mine....
http://forums.arcgis.com/threads/12690-Unable-to-load-proxy?p=312843&viewfull=1#post312843
0 Kudos