CRM downloading attachment with function doesnt work
I tried to download a Books estimate in CRM with a function, but the script just returns text of the file name.
I get the same result running the function on its own, but also when its integrated into a button:


response = invokeurl
[
type: GET
connection:"crmoauth"
];
return response;