AnsweredAssumed Answered

Problem with print widget

Question asked by pavlejovanov_Munilogic on Jun 6, 2020
Latest reply on Jun 10, 2020 by NSager-esristaff

I have custom web application using ArcGIS Api for Javascript 3.32 and trying to implement export map. I am using the same code as here: Print templates with esri.request | ArcGIS API for JavaScript 3.32 

But always getting this error:

TypeError: Cannot read property '3' of null
    at new h (init.js:457)
    at b.hasSameOrigin (init.js:731)
    at init.js:731
    at Object.some (init.js:70)
    at Object.b.canUseXhr (init.js:731)
    at A (init.js:958)
    at f (init.js:966)
    at H (init.js:974)
    at init.js:974
    at c (init.js:104)

As a Print Task I am using this: Task: Export Web Map Task 

 

Not sure where is the problem. Any help?

Outcomes