The modern version of SAS Visual Analytics Viewer does not enable you to enter prompt values for stored processes. This sample explains how you can create an HTML form that enables you to enter prompt values before SAS Visual Analytics executes the stored process.
Note: For information about how prompts are handled in modern viewer, see SAS Note 57009.
The following display is an example of the HTML form:
Figure 1. An HTML form for entering prompt values
The following display shows the output of the stored process after you enter values into the form:
Figure 2. Stored process results using values entered into the HTML form
Beginning with release 7.3, modern is the default appearance for SAS Visual Analytics Viewer. So, this sample applies to releases 7.3 and 7.4.
You also must be able to log on to SAS® Management Console and register a stored process.
This sample includes two stored processes that you can adapt for your own needs. As long as you import the stored processes to Shared Data ► Stored Processes, you can test the stored processes without making any modifications. If you choose a different location, the Downloads tab has instructions for modifying the code.
You are now ready to test the stored processes in SAS Visual Analytics.
For links to all of the available documentation for SAS Visual Analytics, see the SAS Visual Analytics documentation page.
For more information about stored processes, see the SAS Stored Processes: Developer's Guide available from the SAS® Integration Technologies documentation page.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
The sample code expects the stored processes to be stored in a folder named Shared Data ► Stored Processes. If you import the stored processes into a different metadata folder location, then you must do the following:
Type: | Sample |
Date Modified: | 2017-08-11 10:17:29 |
Date Created: | 2017-04-07 09:38:25 |
Product Family | Product | Host | Product Release | SAS Release | ||
Starting | Ending | Starting | Ending | |||
SAS System | SAS Visual Analytics | Microsoft® Windows® for x64 | 7.3 | 9.4 TS1M3 | ||
Linux for x64 | 7.3 | 9.4 TS1M3 |