BookmarkSubscribeRSS Feed
nevla
Fluorite | Level 6

I'm just starting my VA/VIYA journey, and trying to find a way to have the kind of functionality you get natively in VA, with selection boxes and dropdowns and so on, but being able to generate traditional SAS graphics.

I realise there are ways to use javascript and other external graphics engines, but for now i want to stick with SAS!

 

I have followed the example given here: ODS Output with Embedded Graphics

And have an output.

 

However, if I want to run it again (in this example it would be to change the colours, but ultimately i would be passing new parameters to an SGPLOT or a macro) I have to go to the "Set job parameters" menu item

nevla_0-1756393989467.png

 

My question: Is there a way to have the parameters HTML visible at all times, possibly even in another window, and have a "submit" button that would then update the ODS output?

Sort of like a budget version of the VA sliders/radio/dropdowns, but that can control an ODS output?

 

I have seen an example from using a Kaplan Meier curve that could be manipulated with parameters, but I just want to get a really simple example working.

 

Everything I've read so far talks about Javascript and XML, but I have the data already in CASLIBS and want to just use subsets of data with some ODS SG procedures.

 

Thanks!

1 REPLY 1
arthurdpereira
Obsidian | Level 7

Hi @nevla , how are you?

 

Look, I’m not sure if I got it right, but you want to have the parameter screen already visible in VA and only generate the charts after that, right?

 

The service you’re using is SAS Job Execution. It allows for this kind of intermediate screen and yes, you can plug it directly into VA.

 

To do this, you just need to get the Job submit link, go to SAS Visual Analytics, open the report you want, create a new page and add a Web Content object.

 

In the Web Content link, put the job link. If you want, you can also keep it on a hidden page and open it in a pop-up style.

 

That way, it’ll show this screen before actually running the code.

 

Hope this helps! And if I misunderstood, just reply here (images would help!) so I can understand better what you mean.

SAS Job Execution Developer
I love sharing knowledge and helping the community.

Follow me:
GitHub | LinkedIn

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1110 views
  • 2 likes
  • 2 in conversation