Question
10
Replies
4280
Views
Infosys Australia
Posted: November 15, 2016
Last activity: September 13, 2017
Closed
Solved
Unable to call a function from a paragraph rule to get the dynamic system settings
Hi All,
I have a paragraph rule from where I need to call a function to get the DSS which has the hyperlink saved for that link. I am using the below code.
<a href="<%=Utilities.getDataSystemSetting("MyRS", "BuyACar")%>" target="_blank" title="Buy a Car">Buy a Car</a>
Problem is I have tried using multiple functions but it is unable to get the library when I try to save the paragraph rule.
Regards,
Subhajit
Hello,
Please use below and let me know if this is working ..
"<%=String.valueOf(pega_rules_utilities.getDataSystemSetting("RULE_SET_NAME", "SETTINGS_NAME", "DEFAULT_VALUE"))%>"
Thank you!