<?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 VA - load List Control with a pre-selected value in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-load-List-Control-with-a-pre-selected-value/m-p/907125#M17679</link>
    <description>&lt;P&gt;This is not possible with default VA control objects, but a DDC that implements an HTML form could be used to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DDC HTML would need to leverage CAS REST API to query the CAS table containing the desired report ID and pull the parameter settings from that report, supposedly stored in that CAS table. Because the custom HTML provides the prompts, you have the ability to manipulate them via JavaScript to pre-set the prompt values according to what had been saved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not saying it's simple, but it's definitely doable.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 21:16:39 GMT</pubDate>
    <dc:creator>Renato_sas</dc:creator>
    <dc:date>2023-12-08T21:16:39Z</dc:date>
    <item>
      <title>SAS VA - load List Control with a pre-selected value</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-load-List-Control-with-a-pre-selected-value/m-p/906837#M17678</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a requirement for VA reports to be rerun at a later time that will "remember" and load the previously selected value(s) from the user (based on some unique ID). What does that mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, there is a report that the user selects a car's make and model, and enters an unique ID for that report. Based on that selection, the report will be run. In this example,&lt;/P&gt;&lt;P&gt;Report ID: 123&lt;/P&gt;&lt;P&gt;Make: Acura&lt;/P&gt;&lt;P&gt;Model: 3 models selected as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DipuRahman_0-1701976681085.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90957i8B6A4BEE41684D8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DipuRahman_0-1701976681085.png" alt="DipuRahman_0-1701976681085.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This runs the report and creates outputs. In addition, it updates a table in CAS:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DipuRahman_6-1701978107523.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90968iBD68B991FF5B8FD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DipuRahman_6-1701978107523.png" alt="DipuRahman_6-1701978107523.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request from the users:&lt;/P&gt;&lt;P&gt;The report also has a different section where the users can select a Report ID from the past:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DipuRahman_2-1701977432394.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90963iB0EE08BBE22AE809/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DipuRahman_2-1701977432394.png" alt="DipuRahman_2-1701977432394.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DipuRahman_3-1701977591335.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90965i39408846DE845B53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DipuRahman_3-1701977591335.png" alt="DipuRahman_3-1701977591335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And auto populate the previous selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this is where I'm not sure what to do. If the user selects 123 for Report ID, I want the Make List control object to &lt;EM&gt;automatically&lt;/EM&gt; select Acura, and the Model List control to &lt;EM&gt;automatically&lt;/EM&gt; select the three Models (selected the first time):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DipuRahman_4-1701977781959.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90966iEBF8F0D01AD74AAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DipuRahman_4-1701977781959.png" alt="DipuRahman_4-1701977781959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DipuRahman_5-1701977811106.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90967i244408E5BF65F395/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DipuRahman_5-1701977811106.png" alt="DipuRahman_5-1701977811106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason for request: If they want to go back to rerun a report that had 50 models selected, and this time not have to manually select 50 models again (or select 48 models from the original list). This will help reduce the selection time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to use that CAS table with user selected values to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any input is appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using &lt;SPAN&gt;SAS® Visual Analytics. Release:&amp;nbsp;8.5.2,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SAS® Viya® release:&amp;nbsp;V.03.05&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 19:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-load-List-Control-with-a-pre-selected-value/m-p/906837#M17678</guid>
      <dc:creator>DipuRahman</dc:creator>
      <dc:date>2023-12-07T19:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA - load List Control with a pre-selected value</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-load-List-Control-with-a-pre-selected-value/m-p/907125#M17679</link>
      <description>&lt;P&gt;This is not possible with default VA control objects, but a DDC that implements an HTML form could be used to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DDC HTML would need to leverage CAS REST API to query the CAS table containing the desired report ID and pull the parameter settings from that report, supposedly stored in that CAS table. Because the custom HTML provides the prompts, you have the ability to manipulate them via JavaScript to pre-set the prompt values according to what had been saved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not saying it's simple, but it's definitely doable.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 21:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-load-List-Control-with-a-pre-selected-value/m-p/907125#M17679</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2023-12-08T21:16:39Z</dc:date>
    </item>
  </channel>
</rss>

