Question
TCS
FR
Last activity: 7 Jul 2022 2:38 EDT
pzEncryptURLActionString Syntax help
Existing Issue in 8.5,5
Present we calling from Below code from HTML code. <iframe src = "?pyActivity=ABC-XYZ-Work.DisPMain&TempPGName=<%=tools.findPage("TempPage").getString("pyNote")%>"
as we need to call the above code in the below pzEncryptURLActionString function to come out of security issues
we need call the above code in "pzEncryptURLActionString" function below is the syntax
pega_rules_utilities.pzEncryptURLActionString(tools,"Thread",pyActivity=activityName&m1=value1^m2=value2")
After making changes
<iframe src='?<%=pega_rules_utilities.pzEncryptURLActionString(tools, "Thread", "pyActivity=ABC-XYZ-Work.DisPMain&TempPGName=<%=tools.findPage("TempPage").getString("pyNote")%>")%>'> </iframe>
but am getting Test compilation failed ..unable to make the changes ..if any one encountered these kind of issues ,,please help me on correct syntax for the above issue ..