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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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