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...

 

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

Follow me:
GitHub | LinkedIn
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

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

Follow me:
GitHub | LinkedIn
DeMer
Obsidian | Level 7

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

arthurdpereira
Obsidian | Level 7

3.05

 

Erro_JES_04.png

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

Follow me:
GitHub | LinkedIn
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?

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

Follow me:
GitHub | LinkedIn
DeMer
Obsidian | Level 7

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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 2423 views
  • 2 likes
  • 2 in conversation