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

Personalisation in url

Avatar

Avatar
Validate 10
Level 2
michellelowsl
Level 2

Likes

6 likes

Total Posts

47 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
michellelowsl
Level 2

Likes

6 likes

Total Posts

47 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
michellelowsl
Level 2

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
Boost 250
Employee
ramon_bisswanger
Employee

Likes

266 likes

Total Posts

392 posts

Correct Reply

192 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
View profile

Avatar
Boost 250
Employee
ramon_bisswanger
Employee

Likes

266 likes

Total Posts

392 posts

Correct Reply

192 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
View profile
ramon_bisswanger
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)