BookmarkSubscribeRSS Feed
seydoie
Calcite | Level 5

I want VA reports to be downloaded as pdf and automatically sent to my customers every day. I also tried sending an HTTP request, but the downloaded pdf file does not open. The distribution command also did not work as I wanted. I am open to suggestions

1 REPLY 1
HunterT_SAS
SAS Employee

Report Distribution is the primary way to achieve this so if this didn't work for you, we'd need some more details on what went wrong there. That also might be better suited for a tech support case as well rather than trying to resolve in the communities.

 

If you're on Viya 4, the next best alternative is to use the Rest APIs to do this, which is what you probably meant by HTTP request? The /visualAnalytics/reports/<report_ID>/pdf api will do it and then scripting the email job to send it out to anyone you'd like. However this can be a somewhat complicated approach if you're unfamiliar with using these APIs. But if you say you tried it and the PDF doesn't open, then we'd need more details here on what exactly you were doing. Again depending on how complex troubleshooting this gets, this might also be better suited for a tech support case. 


Beyond that, I do not think there are any other options to automatically generate and email a PDF of a report.

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 468 views
  • 0 likes
  • 2 in conversation