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..
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.
Thx;
You just need to send those data values back to the _webout fileref in JSON format. This macro can help: https://core.sasjs.io/mm__webout_8sas.html
Here is a seed app in react that does exactly as you describe: https://github.com/sasjs/react-seed-app/
You could also deploy our data management SAS app, free for unlimited users, but written in angular, that has many such examples: https://datacontroller.io
You just need to send those data values back to the _webout fileref in JSON format. This macro can help: https://core.sasjs.io/mm__webout_8sas.html
Here is a seed app in react that does exactly as you describe: https://github.com/sasjs/react-seed-app/
You could also deploy our data management SAS app, free for unlimited users, but written in angular, that has many such examples: https://datacontroller.io
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.