Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Personalisation in url

michellelowsl
Level 3
Level 3

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;"

1 Accepted Solution
ramon_bisswanger
Correct answer by
Employee
Employee

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

View solution in original post

2 Replies
ramon_bisswanger
Correct answer by
Employee
Employee

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

View solution in original post