Personalisation in url | Community
Skip to main content
Level 3
Sep 9, 2020 7:56 AM UTC
Solved

Personalisation in url

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.
bisswangAccepted solution
Employee
Sep 9, 2020 10:14 PM UTC

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

2 replies

bisswangAccepted solution
Employee
Sep 9, 2020 10:14 PM UTC

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

Translate
Level 3
Sep 10, 2020 10:13 AM UTC
I see. Thanks 🙂
Translate