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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Encode URL in Adobe Campaign

Souradeep
Level 3
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
Vapsy
Correct answer by
Employee
Employee

you can use escapeUrl function

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

View solution in original post

2 Replies
Vapsy
Correct answer by
Employee
Employee

you can use escapeUrl function

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

View solution in original post

manishm90728848
Level 1
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