BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
abhilashatiwari
Obsidian | Level 7

Hi,

I am looking for a javascript code that can be used in SAS stored process to act as reset filter button in one of my reports in SAS VA.

I can find the javascript code for it, but not getting how to use them in sas stored process.

Please let me know your suggestions.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
mariusg
Obsidian | Level 7

Sample Stored Process Code with JS:

 

data _null_;
file _webout;
put "<form name=myform> <input type=button value=""Try it now"" onClick=""alert('Hello from JavaScript!')""> </form> 
";
run;

i hope it helps

kind regards from germany
marius

 


stp_va_js_example.png

View solution in original post

2 REPLIES 2
mariusg
Obsidian | Level 7

Sample Stored Process Code with JS:

 

data _null_;
file _webout;
put "<form name=myform> <input type=button value=""Try it now"" onClick=""alert('Hello from JavaScript!')""> </form> 
";
run;

i hope it helps

kind regards from germany
marius

 


stp_va_js_example.png
abhilashatiwari
Obsidian | Level 7

Hi Marius,

Its seems to what I was looking for. I have not yet tried, but will try soon and will let you know.

Thank you so much !

Regards,

Abhi

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 2 replies
  • 2228 views
  • 1 like
  • 2 in conversation