How to work with RTE collection in content block | Adobe Higher Education
Skip to main content
Level 2
August 3, 2022
Pergunta

How to work with RTE collection in content block

  • August 3, 2022
  • 0 respostas
  • 427 Visualizações

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

Este tópico foi fechado para respostas.