<?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 Use report parameter in embedded report in HTML page in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Use-report-parameter-in-embedded-report-in-HTML-page/m-p/784344#M15681</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we would like to use the SDK to embed our report in a web page by including a parameter. we followed the following documentation :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4309-2020.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4309-2020.pdf&lt;/A&gt;&amp;nbsp;(part : report parameter)&lt;/P&gt;&lt;P&gt;But we couldn't implement the filter, it doesnt work&lt;BR /&gt;below the code to use.&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;html {&lt;BR /&gt;background-color: #f0f0f0;&lt;BR /&gt;}&lt;BR /&gt;sas-report {&lt;BR /&gt;width: 75%;&lt;BR /&gt;height: 75%;&lt;BR /&gt;--sas-report-padding: 10px;&lt;BR /&gt;display: block;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;script async src="&lt;A href="https://unpkg.com/@sassoftware/va-report-components@1.2.0/dist/umd/va-report-components.js" target="_blank"&gt;https://unpkg.com/@sassoftware/va-report-components@1.2.0/dist/umd/va-report-components.js&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;h1&amp;gt;Ceci est une page HTML !&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;lt;sas-report id="myReport" url="XXXXXXXXXXXXXX" reportUri="/reports/reports/a749e9c6-fbfc-4af5-b3d7-d0e788b75b7d" authenticationType="credentials"&amp;gt;&amp;lt;/sas-report&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;window.addEventListener('vaReportComponents.loaded', function() {&lt;BR /&gt;const report = document.getElementById('myReport');&lt;BR /&gt;report.parameters = {&lt;BR /&gt;originParm: 'USA'&lt;BR /&gt;};&lt;BR /&gt;});&lt;BR /&gt;// Add the report to the end of the body&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you in advance for your help&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 16:48:38 GMT</pubDate>
    <dc:creator>rifcha</dc:creator>
    <dc:date>2021-12-06T16:48:38Z</dc:date>
    <item>
      <title>Use report parameter in embedded report in HTML page</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Use-report-parameter-in-embedded-report-in-HTML-page/m-p/784344#M15681</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we would like to use the SDK to embed our report in a web page by including a parameter. we followed the following documentation :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4309-2020.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4309-2020.pdf&lt;/A&gt;&amp;nbsp;(part : report parameter)&lt;/P&gt;&lt;P&gt;But we couldn't implement the filter, it doesnt work&lt;BR /&gt;below the code to use.&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;html {&lt;BR /&gt;background-color: #f0f0f0;&lt;BR /&gt;}&lt;BR /&gt;sas-report {&lt;BR /&gt;width: 75%;&lt;BR /&gt;height: 75%;&lt;BR /&gt;--sas-report-padding: 10px;&lt;BR /&gt;display: block;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;script async src="&lt;A href="https://unpkg.com/@sassoftware/va-report-components@1.2.0/dist/umd/va-report-components.js" target="_blank"&gt;https://unpkg.com/@sassoftware/va-report-components@1.2.0/dist/umd/va-report-components.js&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;h1&amp;gt;Ceci est une page HTML !&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;lt;sas-report id="myReport" url="XXXXXXXXXXXXXX" reportUri="/reports/reports/a749e9c6-fbfc-4af5-b3d7-d0e788b75b7d" authenticationType="credentials"&amp;gt;&amp;lt;/sas-report&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;window.addEventListener('vaReportComponents.loaded', function() {&lt;BR /&gt;const report = document.getElementById('myReport');&lt;BR /&gt;report.parameters = {&lt;BR /&gt;originParm: 'USA'&lt;BR /&gt;};&lt;BR /&gt;});&lt;BR /&gt;// Add the report to the end of the body&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you in advance for your help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 16:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Use-report-parameter-in-embedded-report-in-HTML-page/m-p/784344#M15681</guid>
      <dc:creator>rifcha</dc:creator>
      <dc:date>2021-12-06T16:48:38Z</dc:date>
    </item>
  </channel>
</rss>

