Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

ACC - Content management 'Content' object variable in Personalization block

Avatar

Level 2

Hi - I have JS delivery template, where I have access to "Content" object (using Content management). I have some custom forms as part of delivery template, where users can do some inputs on the forms to customize the delivery.
I have a table linked to recipient, which has 1-M relation to the recipient.

I need to build a personalization block, which has access to recipient object. But I need to fetch specific data based on the input done on the content management/template input form.

So how can I pass a variable from JS template or delivery (content.@formVariable) to pass to personalization block? 
I looked at varialbles under delivery/properties but delivery object is not available in JS template. 

Any ideas?

Thanks! 

1 Accepted Solution

Avatar

Correct answer by
Level 2

Found the way:
delivery.content.content[0].@formVariableName

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Found the way:
delivery.content.content[0].@formVariableName