<?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 Populate combobox from SAS table in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889446#M6399</link>
    <description>&lt;P&gt;I have a webpage using SAS web services that were building to call stored processes from. The stored processes take in parameters for the reports they generate. As of now, we're hard coding the list of values into Box1 combobox within the webpage itself. However, what I would like is to have the comboboxes populate with the values of a SAS table say... xNames.sas7bdat on the SAS server. This way we can control the values of the combobox directly from SAS or automate the refresh of values daily..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We're using nodejs and the react framework and our page is going to be hosed on a TomCat Server. Wondering if any has been any info on this topic of populating comboboxes with SAS column values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 21:36:12 GMT</pubDate>
    <dc:creator>SASAlex101</dc:creator>
    <dc:date>2023-08-15T21:36:12Z</dc:date>
    <item>
      <title>Populate combobox from SAS table</title>
      <link>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889446#M6399</link>
      <description>&lt;P&gt;I have a webpage using SAS web services that were building to call stored processes from. The stored processes take in parameters for the reports they generate. As of now, we're hard coding the list of values into Box1 combobox within the webpage itself. However, what I would like is to have the comboboxes populate with the values of a SAS table say... xNames.sas7bdat on the SAS server. This way we can control the values of the combobox directly from SAS or automate the refresh of values daily..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We're using nodejs and the react framework and our page is going to be hosed on a TomCat Server. Wondering if any has been any info on this topic of populating comboboxes with SAS column values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889446#M6399</guid>
      <dc:creator>SASAlex101</dc:creator>
      <dc:date>2023-08-15T21:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Populate combobox from SAS table</title>
      <link>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889494#M6400</link>
      <description>&lt;P&gt;You just need to send those data values back to the _webout fileref in JSON format.&amp;nbsp; This macro can help: &lt;A href="https://core.sasjs.io/mm__webout_8sas.html" target="_blank"&gt;https://core.sasjs.io/mm__webout_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a seed app in react that does exactly as you describe:&amp;nbsp; &lt;A href="https://github.com/sasjs/react-seed-app/" target="_blank"&gt;https://github.com/sasjs/react-seed-app/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also deploy our data management SAS app, free for unlimited users, but written in angular, that has many such examples:&amp;nbsp; &lt;A href="https://datacontroller.io" target="_blank"&gt;https://datacontroller.io&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 12:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889494#M6400</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2023-08-16T12:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Populate combobox from SAS table</title>
      <link>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889558#M6401</link>
      <description>This is great. Awesome code library. I can appreciate the time it took to create it. I have registered an SP with the macros you mentioned. It returns a JSON formatted thing. We can then use react to populate a combo box with that response. Thanks again;</description>
      <pubDate>Wed, 16 Aug 2023 20:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Populate-combobox-from-SAS-table/m-p/889558#M6401</guid>
      <dc:creator>SASAlex101</dc:creator>
      <dc:date>2023-08-16T20:48:23Z</dc:date>
    </item>
  </channel>
</rss>

