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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

linked data in personalization field

Avatar

Level 4

Hi,

In an email delivery I'm adding linked data to a recipient profile through a custom query:

Schermafbeelding 2020-02-19 om 12.04.22.png

 

I can see that in preview, the data is added to the recipient context:

Schermafbeelding 2020-02-19 om 12.07.24.png

However, when I try to address this field (DCE), I don't get the value:

Schermafbeelding 2020-02-19 om 12.19.28.png

Results in:

Schermafbeelding 2020-02-19 om 12.20.47.png

However path query is similar to that of the currentDelivery label, which is clearly shown...

 

Don't know what I'm missing here... anyone experience with this?

 

Thanks,

 

Stefan

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @stefanm38281801 ,

 

try with [recipient/relationAttributes/@lastbuystore] to fetch the value.

 

Regards,

Milan

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hi @stefanm38281801 ,

 

try with [recipient/relationAttributes/@lastbuystore] to fetch the value.

 

Regards,

Milan

Avatar

Community Advisor

Hi @stefanm38281801,

 

did you try without brackets?

 

data-nl-exp="recipient/relationAttributes/lastbuystore"

 

Regards,

Milan

Avatar

Level 4
yes... tried that too... no success... the xpath seems to be correct... not sure if it is the right entry point and if I can address that structure within the content...

Avatar

Community Advisor

Hi @stefanm38281801,

 

could you, please, try with the following:

 

[recipient/relationAttributes[0]/lastbuystore]

 

Regards,

MIlan

Avatar

Level 4
thanks Milan, relationAttributes is a 1:n relation... indexing [0] did the trick...