Question

3
Replies
621
Views
Keith Weber (KeithW59)
Red Alpha

Red Alpha
US
KeithW59 Member since 2018 2 posts
Red Alpha
Posted: November 25, 2019
Last activity: August 14, 2020
Posted: 25 Nov 2019 11:03 EST
Last activity: 14 Aug 2020 14:32 EDT
Solved

Referencing a Dynamic System Settings variable from javascript

I have a javascript function that I call from an action set on a button. I have a variable in that javascript that I want to have set to a dynamic system setting variable.

var url = '<%= com.pegarules.generated.pega_rules_utilities.getDataSystemSetting("rulesetXX","ServiceUrl")%>'; 

This doesn't work. I just get back that same string not the DSS variable. What's the proper syntax for doing this?

***Edited by Moderator Marissa to update platform capability tags****

Data Integration Java and Activities User Experience