Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
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

2 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