Hi All,
Need your help.
I'm trying to embed SAS Visual Analytics reports in python web application. I'm using SAS Report Viewer to view the reports through the URL parameters. It is again asking for a login. Can this problem be solved by enabling guest access? Is there any alternative for viewing the reports through my python application like any package or API, etc? I'm able to login into the Cloud Analytics Server(CAS) of SAS Viya (AMSIO) through the python SWAT package. Can this user session-id be used to view the SAS Visual Analytics reports in my web application?
Thanks in Advance.
Hi,
As far as I know there is no way to pass a username / password combination through VisualAnalyticsViewer.
A colleague from my company presented a paper at last year's SGF on enabling social authentication on the mid tier.
http://support.sas.com/resources/papers/proceedings17/0993-2017.pdf
This thread discussed a similar problem and provided some options for authentication
For reports with read access on PUBLIC the following * should * work (not tested).
import requests params = { "reportViewOnly": "true", "reportName" : "SAS Visual Analytics Sample", "reportPath" : "/Products/SAS Visual Analytics/Samples", } url = "https://<myserver>":<port>/SASVisualAnalyticsViewer/VisualAnalyticsViewer.jsp" resp = requests.get(url, params=params) print(resp.text)
Hi,
I have been working on the information in the links that you provided for authentication of SAS Viya. Thank you. Appreciate your help. I think integrated windows authentication in the middle tier must be configured for single sign on. will get back on this.
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!
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.