Personalisation in url | Community
Skip to main content
Level 3
September 9, 2020
Solved

Personalisation in url

  • September 9, 2020
  • 1 reply
  • 1709 views

Hi,

 

Can someone tell me if there's any difference between having personalised url in href vs. data-nl-lnkep-perso-attr-href or either is fine and will do the same work? Thanks

 

a href="<%@ value object='branding' xpath='@serverUrl' %>/lp/preferenceCentre?pkey=<%= escapeUrl(context.profile.PKey) %>"

 

vs .

 

data-nl-lnkep-perso-attr-href="&amp;amp;lt;%@ value object=&apos;branding&apos; xpath=&apos;@serverUrl&apos; %&amp;amp;gt;/lp/haUnsub?service=&lt;span class=&quot;nl-dce-field nl-dce-done nl_currentSelection&quot; id=&quot;span156713812661439&quot; data-nl-expr=&quot;/context/targetData/serviceIdAsParam&quot; data-nl-type=&quot;string&quot;&gt;Service Id as param&lt;/span&gt;&amp;amp;amp;pkey=&amp;amp;lt;%= escapeUrl(context.profile.PKey) %&amp;amp;gt;"

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 bisswang

Technically for your case both will do the same.

 

The latter one is the syntax created in the Creative Designer and allows to change it more easily in the UI.

The first record is rather the legacy syntax which still works

1 reply

bisswangAdobe EmployeeAccepted solution
Adobe Employee
September 9, 2020

Technically for your case both will do the same.

 

The latter one is the syntax created in the Creative Designer and allows to change it more easily in the UI.

The first record is rather the legacy syntax which still works

Level 3
September 10, 2020
I see. Thanks 🙂