An Idea Exchange for SAS software and services

Comments
by SAS Employee DavidHenderson_SAS
on ‎03-12-2014 11:18 AM

Embedding the VA report viewer in an IFRAME is supported in 6.3 (and now 6.4).  Here's how to accomplich it:

To add an instance of the viewer, use this URL as the base:

http://.../SASVisualAnalyticsViewer/VisualAnalyticsViewer.jsp?reportViewOnly=true

Login without banner:

http://.../SASVisualAnalyticsViewer/VisualAnalyticsViewer.jsp?reportViewOnly=true

If guest access has been enabled and the report is available to the guest account, use this URL:

http://.../SASVisualAnalyticsViewer/guest.jsp

To disable the banner on the guest account is a bit different:

http://.../SASVisualAnalyticsViewer/VisualAnalyticsViewer_guest.jsp

To specify which report to display, use both of these options (sample values provided):

reportName=2014YTDSales

reportPath=/Shared+Reports/

There are a few more options that enable/disable portions of the UI:

propertiesEnabled=true | false

commentsEnabled=true | false

reportViewOnly=true    - Hides all of the menus.

appSwitcherDisabled=true   - Disables the application switcher (appears at the top left)

by Frequent Contributor
on ‎06-20-2017 03:37 AM

Hi @DavidHenderson_SAS,

 

I'm trying the same approach you've suggested, but the page keeps on loading and not showing Report. 

Any guidance to resolve it?

Here is my HTML code

<html>
	<iframe src="http://sasva/SASVisualAnalytics/report?location=%2Fmicro%2FReports%2FBuyer%20Top%20Product&type=Report.BI&section=vi1" width="100%" height="100%"></iframe>
</html>
by SAS Employee Expengu
a week ago

Try this code:

 

<html>
<head><title>Buyer Top Product without SAS banner</title></head>
<body>

<iframe src="http://sasva/SASVisualAnalyticsViewer/VisualAnalyticsViewer.jsp?appSwitcherDisabled=true&reportViewOnly=true&reportPath=/micro/Reports&reportName=Buyer+Top+Product" style="border: 0; position:absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%">
</iframe>

</body>
</html>
Idea Statuses
Top Liked Authors