Hi,
in sas studio V I create a Job Definiton in HTML.
At the end of the code I create a tables and then an xlsx with proc export.
How can I create a button to allow you to download this file?
if I use this procedure it doesn't work because the file doesn't exist
proc export
data=tmp
dbms=xlsx
outfile="&path./Test.xlsx"
replace;
run;
data vuoto;
SUCCESFUL="please download the file by right-clicking and save as";
run;
footnote link="&path.\Test.xlsx" 'Click here to download file';
proc print data=vuoto noobs;run;
From the available job definitions I see that sas uses
& _WEBIN_FILEURI/content.How should I go about loading xlsx into this path?
Thanks
I found a solution adapting the code of Report with Download Links in SAS Help Center: Samples
I found a solution adapting the code of Report with Download Links in SAS Help Center: Samples
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.