Select to view content in your preferred language

Print Task - invalid url

1503
2
05-01-2013 08:36 AM
KevinGooss
Regular Contributor
10.1 ags

I call the print task from within my app and the response is "invalid url".
I only have one operational layer and it is visible within the app.
I take the web map as json string from firebug and paste it into the export map test page and i get my pdf out as expected.
How can this be happening. Does the invalid url error refer to the operational layer or perhaps the output location?
Why would it work within the test page but not from my app?
0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor
Do you have a code sample that shows the problem?  How are you specifying the url for the print task? The print task requires the url to the Export Web Map Task.
0 Kudos
KevinGooss
Regular Contributor
I figured it out. It was my dumb issue. I was calling Export Web Map instead of Export Web Map Task.
thank you.
0 Kudos