Question

2
Replies
2236
Views
ZakariG3 Member since 2017 1 post
CAPGEMINI
Posted: April 11, 2018
Last activity: April 18, 2018
Closed

How to call a property reference into function?

Hi,

In order to provide an opt-out link to our client we would like to base64 encode some parameters in our URL.

This link is supposed to be pasted into marketing emails.

Here's what I want :

http://<URL>/parameterOne<encodedParam>

Here's what I've tried :

<a href="http://<URL>/?parameterOne=<%=String.valueOf(pega_rules_default.Base64Encode(.myPropertyToEncode))%>">Click here</a>

I want my property to be encoded but I can't call this property with "<pega:reference name=".myProperty" />"

Can someone help me with this issue please?

Case Management Decision Management SR Exists
Moderation Team has archived post
Share this page LinkedIn