ACC - Content management 'Content' object variable in Personalization block | Community
Skip to main content
Level 2
November 24, 2021
Solved

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

  • November 24, 2021
  • 1 reply
  • 752 views

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! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by wiki

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

1 reply

wikiAuthorAccepted solution
Level 2
November 25, 2021

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