Expand my Community achievements bar.

SOLVED

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

Avatar

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

Avatar

Correct answer by
Community Advisor

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

Avatar

Correct answer by
Community Advisor

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.

Avatar

Level 3

thanks David - that got me to what I needed