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

How do I use a personaliation field (from nms:deliverycustomization) in a delivery/personalisation block?

stephenjwz
Level 3
Level 3

Hi

I am aware I can put personalisation blocks into other personalisation blocks, or into deliveries, using something like <%@ include view='myPBName' %>

Is there an easy equivalent for personalisation fields?

Alternatively; is there a way to update personalisation block content using an 'update data' activity? I am experimenting with using the fields rather than the blocks as I was struggling to make this happen.

Thanks

1 Accepted Solution
David__Garcia
Correct answer by
Level 8
Level 8

You can create or write into a perzonalisation block from a workflow like the following.

Here are the methods from the js api.

includeView

Reusable content blocks that can be included in the customization

Methods

Generic Methods

createCreates a new entity corresponding to a given schema.
loadLoads and returns an entity corresponding to a given schema and key.
saveSaves an entity in the database.

View solution in original post

2 Replies
David__Garcia
Correct answer by
Level 8
Level 8

You can create or write into a perzonalisation block from a workflow like the following.

Here are the methods from the js api.

includeView

Reusable content blocks that can be included in the customization

Methods

Generic Methods

createCreates a new entity corresponding to a given schema.
loadLoads and returns an entity corresponding to a given schema and key.
saveSaves an entity in the database.

View solution in original post

stephenjwz
Level 3
Level 3

thanks David - that got me to what I needed