<?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 Best way to integrate a report-package in an angular website, with differrent data per user in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Best-way-to-integrate-a-report-package-in-an-angular-website/m-p/941658#M18267</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a previous &lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Hosting-Viya-report-package-in-an-Angular-application/m-p/940467/highlight/false#M18189" target="_blank" rel="noopener"&gt;question&lt;/A&gt;&amp;nbsp;I managed to integrate a report-package-export in my Angular website.&lt;/P&gt;&lt;P&gt;Next chalange is that I need different data per end user for this report. It is not an option to filter in javascript, because the data is sensitive and should not be shared between users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What option is the best way to approach this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 08:55:49 GMT</pubDate>
    <dc:creator>Pim2</dc:creator>
    <dc:date>2024-08-29T08:55:49Z</dc:date>
    <item>
      <title>Best way to integrate a report-package in an angular website, with differrent data per user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Best-way-to-integrate-a-report-package-in-an-angular-website/m-p/941658#M18267</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a previous &lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/Hosting-Viya-report-package-in-an-Angular-application/m-p/940467/highlight/false#M18189" target="_blank" rel="noopener"&gt;question&lt;/A&gt;&amp;nbsp;I managed to integrate a report-package-export in my Angular website.&lt;/P&gt;&lt;P&gt;Next chalange is that I need different data per end user for this report. It is not an option to filter in javascript, because the data is sensitive and should not be shared between users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What option is the best way to approach this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 08:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Best-way-to-integrate-a-report-package-in-an-angular-website/m-p/941658#M18267</guid>
      <dc:creator>Pim2</dc:creator>
      <dc:date>2024-08-29T08:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to integrate a report-package in an angular website, with differrent data per user</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Best-way-to-integrate-a-report-package-in-an-angular-website/m-p/941872#M18278</link>
      <description>&lt;P&gt;I don't think that is possible. Exporting a report package always happens at run-time given a certain user session. It's that session which determines what data is included in the resulting package. If you have row-level security configured&amp;nbsp;for example - the package will only contain data accessible by this user. As per SDK&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/vacdc/v_027/varef/n1tbiwkzea35nin1wbvjdcregjcs.htm?fromDefault=#p0bfdy2hrkw4lzn1glyhtfu02t2h" target="_self"&gt;FAQ&lt;/A&gt;'s - it's "..&lt;SPAN&gt;&lt;EM&gt;it is the responsibility of the hosting web server to provide adequate authentication to the contents&lt;/EM&gt;".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of generating offline packages, you may also consider leaving the security aspect to SAS Viya and connect from your Angular website directly to a live SAS Viya system. You can use API methods such as&amp;nbsp; like&amp;nbsp;&lt;A href="https://developer.sas.com/sdk/va/docs/api/connectToServer" target="_blank"&gt;connectToServer&lt;/A&gt;&amp;nbsp;and objects like&amp;nbsp;&lt;A href="https://developer.sas.com/sdk/va/docs/api/SASReportElement" target="_blank"&gt;SASReportElement&lt;/A&gt;&amp;nbsp;in your web page directly. This method also gives you full flexibility which visual element you want to include in your web page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps. Falko&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 23:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Best-way-to-integrate-a-report-package-in-an-angular-website/m-p/941872#M18278</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2024-08-29T23:03:19Z</dc:date>
    </item>
  </channel>
</rss>

