How to work with RTE collection in content block | Community
Skip to main content
Level 2
August 3, 2022
Question

How to work with RTE collection in content block

  • August 3, 2022
  • 1 reply
  • 555 views

Hello all,
How to work with RTE collection in content block?
Example:
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,
Aleks

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

1 reply

Sukrity_Wadhwa
Community Manager
Community Manager
August 5, 2022

Hey @oleksandr_herhovskyi

Could you please clarify if this is in context to Adobe Campaign Classic or Adobe Campaign Standard?

Thanks!

Sukrity Wadhwa