BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Cristina_inet
Fluorite | Level 6
Hello,

I would like to perform the following action:

Export a package with a SAS Viya VA report that has your tables, your objects, your data, etc. Which then I would like to embed it in an html page, without the need to connect to the server.
Could this be possible? 

Thanks!!
best regards.
1 ACCEPTED SOLUTION

Accepted Solutions
HunterT_SAS
SAS Employee

This is possible in Viya 4 (Visual Analytics version 2022.x) and details can be found here:


https://go.documentation.sas.com/doc/en/vacdc/v_017/vareports/p0log1ce8qcj4cn15k0oby258pdb.htm


This feature does exactly what you are looking for: exports the report + all the data used in the report and generates an index.html automatically for you that uses the Visual Analytics SDK to render the contents. You would just need to extract the package it creates somewhere on your web server and should be good to go. 

 

For Viya 3.5, you can use the Visual Analytics SDK as well but there is no supported method of bundling the data with it. It will have to make live calls to the server to retrieve data. One benefit to this approach though is you can still embed it within a webpage and bypass having to load the Visual Analytics web application as part of rendering the report. More information on that can be found here:

https://developer.sas.com/guides/visual-analytics-sdk.html

And if you or anyone happens to be using SAS 9.4 and Visual Analytics 7.5, unfortunately there is no SDK option here. You can still embed reports using an iframe though. 


Hopefully that helps!

View solution in original post

2 REPLIES 2
HunterT_SAS
SAS Employee

This is possible in Viya 4 (Visual Analytics version 2022.x) and details can be found here:


https://go.documentation.sas.com/doc/en/vacdc/v_017/vareports/p0log1ce8qcj4cn15k0oby258pdb.htm


This feature does exactly what you are looking for: exports the report + all the data used in the report and generates an index.html automatically for you that uses the Visual Analytics SDK to render the contents. You would just need to extract the package it creates somewhere on your web server and should be good to go. 

 

For Viya 3.5, you can use the Visual Analytics SDK as well but there is no supported method of bundling the data with it. It will have to make live calls to the server to retrieve data. One benefit to this approach though is you can still embed it within a webpage and bypass having to load the Visual Analytics web application as part of rendering the report. More information on that can be found here:

https://developer.sas.com/guides/visual-analytics-sdk.html

And if you or anyone happens to be using SAS 9.4 and Visual Analytics 7.5, unfortunately there is no SDK option here. You can still embed reports using an iframe though. 


Hopefully that helps!

RobbyP
SAS Employee

Exporting Report Packages is a topic briefly discussed in the SAS Viya Release Highlights - September 2021 - https://www.youtube.com/watch?v=x3dspe-fQNQ&list=PLVV6eZFA22Qy3Phh79SwcT-4tB84vnQ48&index=16&t=284s

 

 

 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 2 replies
  • 980 views
  • 4 likes
  • 3 in conversation