BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
luca87
Obsidian | Level 7

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

1 ACCEPTED SOLUTION

Accepted Solutions
luca87
Obsidian | Level 7

I found a solution adapting the code of Report with Download Links in SAS Help Center: Samples

View solution in original post

1 REPLY 1
luca87
Obsidian | Level 7

I found a solution adapting the code of Report with Download Links in SAS Help Center: Samples

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 901 views
  • 1 like
  • 1 in conversation