<?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 Embedded report with Parameter in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Embedded-report-with-Parameter/m-p/831397#M6151</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying SAS Embeddable Web component with Parameter passing.&lt;/P&gt;&lt;P&gt;i have referred to link given below&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;&lt;/P&gt;&lt;P&gt;even after modifying the below code for my code it is not working&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const report = document.getElementById('myReport');&lt;BR /&gt;report.parameters = {&lt;BR /&gt;originParm: 'USA'&lt;BR /&gt;};&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 12:26:51 GMT</pubDate>
    <dc:creator>ashishj816</dc:creator>
    <dc:date>2022-09-01T12:26:51Z</dc:date>
    <item>
      <title>Embedded report with Parameter</title>
      <link>https://communities.sas.com/t5/Developers/Embedded-report-with-Parameter/m-p/831397#M6151</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying SAS Embeddable Web component with Parameter passing.&lt;/P&gt;&lt;P&gt;i have referred to link given below&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;&lt;/P&gt;&lt;P&gt;even after modifying the below code for my code it is not working&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const report = document.getElementById('myReport');&lt;BR /&gt;report.parameters = {&lt;BR /&gt;originParm: 'USA'&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 12:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Embedded-report-with-Parameter/m-p/831397#M6151</guid>
      <dc:creator>ashishj816</dc:creator>
      <dc:date>2022-09-01T12:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded report with Parameter</title>
      <link>https://communities.sas.com/t5/Developers/Embedded-report-with-Parameter/m-p/831542#M6152</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/82817"&gt;@ashishj816&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That paper was written prior to release of that report parameter API on the SAS Visual Analytics SDK.&amp;nbsp; By the time we released that API, it had changed in form slightly from what is in the paper.&amp;nbsp; See the &lt;A href="https://developer.sas.com/sdk/va/docs/api/ReportHandle/#setreportparametersparameters-object--undefined-void" target="_self"&gt;SDK API documentation&lt;/A&gt; for details.&amp;nbsp; For your example you posted, it would look like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;const report = document.getElementById("myReport");
report.getReportHandle().then((reportHandle) =&amp;gt; {
  reportHandle.setReportParameters({
    originParm: 'USA'
  });
});&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Embedded-report-with-Parameter/m-p/831542#M6152</guid>
      <dc:creator>BradMorris</dc:creator>
      <dc:date>2022-09-02T13:14:21Z</dc:date>
    </item>
  </channel>
</rss>

