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

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-Communities-Library/How-to-display-results-from-a-SAS-Viya-Job-in...

https://communities.sas.com/t5/SAS-Communities-Library/Create-a-SAS-Viya-Job-with-a-prompt-using-HTM...

https://communities.sas.com/t5/SAS-Viya/Download-Javascript-Dynamic-Jobs-in-SAS-VIYA/td-p/853441

https://communities.sas.com/t5/Administration-and-Deployment/Job-Execution-javascript-files/td-p/857...

 

1 ACCEPTED SOLUTION

Accepted Solutions
DeMer
Obsidian | Level 7

The JavaScript for HTML dynamic prompts wasn't added until Viya 4.

 

View solution in original post

7 REPLIES 7
DeMer
Obsidian | Level 7

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.

arthurdpereira
Obsidian | Level 7

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.

 

Erro_JES.jpgErro_JES_02.pngErro_JES_03.png

DeMer
Obsidian | Level 7

I assume the version of Viya you are using is >= Viya 2021.1.2.

DeMer
Obsidian | Level 7

The JavaScript for HTML dynamic prompts wasn't added until Viya 4.

 

arthurdpereira
Obsidian | Level 7

So it will only work on Viya 4, correct?

DeMer
Obsidian | Level 7

That is correct (unless they decide to backport it to V3.5).

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 812 views
  • 2 likes
  • 2 in conversation