Encode URL in Adobe Campaign | Community
Skip to main content
Level 2
September 28, 2017
Solved

Encode URL in Adobe Campaign

  • September 28, 2017
  • 2 replies
  • 5188 views

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.
Best answer by vraghav

you can use escapeUrl function

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

2 replies

vraghav
Adobe Employee
vraghavAdobe EmployeeAccepted solution
Adobe Employee
September 29, 2017

you can use escapeUrl function

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

April 24, 2018

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