Encode URL in Adobe Campaign | Community
Skip to main content
Level 2
Sep 28, 2017 5:03 PM UTC
Solved

Encode URL in Adobe Campaign

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vraghav
vraghavAccepted solution
Employee
Sep 29, 2017 3:54 AM UTC

you can use escapeUrl function

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

2 replies

New Participant
Apr 24, 2018 8:17 AM UTC

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

Translate
vraghav
vraghavAccepted solution
Employee
Sep 29, 2017 3:54 AM UTC

you can use escapeUrl function

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

Translate