Personalisation in url

Avatar

Avatar

michellelowsl

Avatar

michellelowsl

michellelowsl

09-09-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ramon_bisswange

Employee

Avatar

ramon_bisswange

Employee

ramon_bisswange
Employee

09-09-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

Answers (0)