Question

2
Replies
2268
Views
Close popover
Zakari GHERMANI (ZakariG3)
CAPGEMINI
Application Consultant
CAPGEMINI
FR
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 Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.