Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
Unfortunately i found out an error message in my report log file " Error: The download failed". Till yesterday it was working fine but today the report was stuck with this error. Please any suggestions.
Thanks in Advance.
Hi Varun,
Could you attach your script?
Regards
Miguel del Valle
Hi Mguel,
Please find the script file in attachment.
Thanks
Varun K
Hi Varun,
could you attach qvw's log file ?
Maybe From request is incorrect, some special characters not url encoded.
Regards,
Ely
Hi Ely,
Please find the attached Log file.
Thanks in advance.
Hi Varun,
I confirm that is url encoding issue about your URL parameter address.
Base URL is ok
http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Before to pass adress to url you need to encode his QlikView variable address.
Define in Macro Module JScript language and define
function __JS_encodeURI (uri){
return encodeURI(uri);
};
function __JS_encodeURIComponent (uri){
return encodeURIComponent(uri)
};
into QlikView Script you can call your function replacing replace instruction
//-- COMMENT --let address = Replace('$(address_tmp)', '°', '');
let adress = __JS_encodeURIComponent(address_tmp);
Regards,
Ely Malki