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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.