Hi everyone, everything fine? I'm trying to make the menu dynamic through the forums here at SAS, but the code doesn't seem to work. I did everything right. Do these files still work here?
<script src="/SASJobExecution/resources/sap/ui/thirdparty/jquery.js"></script> <script src="/SASJobExecution/resources/dynamic.min.js"></script>
https://communities.sas.com/t5/SAS-Viya/Download-Javascript-Dynamic-Jobs-in-SAS-VIYA/td-p/853441
I personally have no idea, but maybe it has something to do with a security change -
https://documentation.sas.com/doc/en/jobexeccdc/v_004/jobexecug/n1hu5xupkp05itn134ift239zre5.htm
There might be some clues in the browser F12 console.
I made the changes, but it still didn't work. I put some images to exemplify the problem. It's as if there were no JS files.
I assume the version of Viya you are using is >= Viya 2021.1.2.
3.05
The JavaScript for HTML dynamic prompts wasn't added until Viya 4.
So it will only work on Viya 4, correct?
That is correct (unless they decide to backport it to V3.5).
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.