<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS Visual Analytics Report viewing from python web application in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432028#M9265</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I know there is no way to pass a username / password combination through VisualAnalyticsViewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A colleague from my company presented a paper at last year's SGF on enabling social authentication on the mid tier.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings17/0993-2017.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings17/0993-2017.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This thread discussed a similar problem and provided some options for authentication&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-inside-my-portal-with-User-Authentication/td-p/351261" target="_self"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-inside-my-portal-with-User-Authentication/td-p/351261&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reports with read access on PUBLIC the following * should * work (not tested).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import requests

params = {
	"reportViewOnly": "true",
	"reportName" : "SAS Visual Analytics Sample",
	"reportPath" : "/Products/SAS Visual Analytics/Samples",
}

url = "https://&amp;lt;myserver&amp;gt;":&amp;lt;port&amp;gt;/SASVisualAnalyticsViewer/VisualAnalyticsViewer.jsp"

resp = requests.get(url, params=params)
print(resp.text)&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Jan 2018 01:43:24 GMT</pubDate>
    <dc:creator>foobarbaz</dc:creator>
    <dc:date>2018-01-30T01:43:24Z</dc:date>
    <item>
      <title>SAS Visual Analytics Report viewing from python web application</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432011#M9264</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Need your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 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?&amp;nbsp; Is there any alternative for viewing the reports through my python application like any package or API, etc?&amp;nbsp; 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?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 23:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432011#M9264</guid>
      <dc:creator>SaiBhargav</dc:creator>
      <dc:date>2018-01-29T23:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics Report viewing from python web application</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432028#M9265</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I know there is no way to pass a username / password combination through VisualAnalyticsViewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A colleague from my company presented a paper at last year's SGF on enabling social authentication on the mid tier.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings17/0993-2017.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings17/0993-2017.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This thread discussed a similar problem and provided some options for authentication&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-inside-my-portal-with-User-Authentication/td-p/351261" target="_self"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-inside-my-portal-with-User-Authentication/td-p/351261&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reports with read access on PUBLIC the following * should * work (not tested).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import requests

params = {
	"reportViewOnly": "true",
	"reportName" : "SAS Visual Analytics Sample",
	"reportPath" : "/Products/SAS Visual Analytics/Samples",
}

url = "https://&amp;lt;myserver&amp;gt;":&amp;lt;port&amp;gt;/SASVisualAnalyticsViewer/VisualAnalyticsViewer.jsp"

resp = requests.get(url, params=params)
print(resp.text)&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jan 2018 01:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432028#M9265</guid>
      <dc:creator>foobarbaz</dc:creator>
      <dc:date>2018-01-30T01:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Visual Analytics Report viewing from python web application</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432829#M9291</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 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.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 16:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Report-viewing-from-python-web-application/m-p/432829#M9291</guid>
      <dc:creator>SaiBhargav</dc:creator>
      <dc:date>2018-01-31T16:43:45Z</dc:date>
    </item>
  </channel>
</rss>

