Solved! Go to Solution.
this.executePrint({ template: "MAP_ONLY", format: format, preserveScale: false, showAttribution: false, exportOptions: exportOptions }).then(lang.hitch(this, function (result) { var url = result.url + "?ts=" + new Date().getTime(); // Add timestamp to avoid browser caching window.open(url); })
this.executePrint({ template: "MAP_ONLY", format: format, preserveScale: false, showAttribution: false, exportOptions: exportOptions }).then(lang.hitch(this, function (result) { var url = result.url + "?ts=" + new Date().getTime(); // Add timestamp to avoid browser caching window.open(url); })
window.open(data.results[0].value.url + "?ts=" + new Date().getTime() );
var date:Date = new Date(); var dateString:String = "" + date.fullYear + (date.month+1) + date.date + date.hours + date.minutes + date.seconds navigateToURL(new URLRequest(dataFile.url + "?ts=" + dateString ));