Question

2
Replies
2281
Views
Zakari GHERMANI (ZakariG3)
CAPGEMINI
Application Consultant
CAPGEMINI
FR
ZakariG3 Member since 2017 1 post
CAPGEMINI
Posted: April 11, 2018
Last activity: April 18, 2018
Posted: 11 Apr 2018 4:47 EDT
Last activity: 18 Apr 2018 13:59 EDT
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, 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.