I wanted to get a document's children's properties but i kept on getting undefined error.
I pass the folder through js as
mail.execute(document);
And in html.ftl
${document.children[0].properties["cm:creator"]}
I've checked by rewrting my js as
mail.execute(document.children[0);
and the properties as
${document.properties["cm:creator"]}
And it returns the correct result.
Or, is there a way to get the document's folder in the ftl?
Thank you in advance!