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

The 4th edition of the Campaign Community Lens newsletter is out now!

How to work with RTE collection in content block


Level 2

Hello all,
How to work with RTE collection in content block?
I have some payload:
{"ctx":{"firstName":"string127","myCollection":[{"doc":"string127 #1"},{"doc":"string127 #2"}]}}

How to make from it an array? I need to get data for each doc from my collection.

var myCollection= context.rtEvent.ctx.myCollection;

<%=myCollection%> == [object EntityCollection] 

Best regards,

0 Replies