Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Encode URL in Adobe Campaign

Avatar

Level 3

Hi,

I am fairly new to Campaign and so trying to understand if there is a way to do URL encoding.

I am passing a query parameter in one of the URLs in the template.

The value of this query parameter has a percentage(%) character.

Is there a way this percentage character can be encoded before passing as part of the URL?

Thanks,

Souradeep

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

you can use escapeUrl function

http://mydomain/resourcepath?id=<%= escapeUrl(myId) %>

View solution in original post

0 Replies

Avatar

Correct answer by
Employee Advisor

you can use escapeUrl function

http://mydomain/resourcepath?id=<%= escapeUrl(myId) %>

Avatar

Level 1

Hi Vipul,

I am also looking for similar solution

could you please elaborate on this,

We want to pass on query parameter from adobe campaign email  url to web page (which is not built using adobe campaign web application) in an encrypted manner.

please suggest.

Regards,

Manish