AnsweredAssumed Answered

get document.children properties using html.ftl

Question asked by e-no91 on Jun 27, 2014
Latest reply on Jun 28, 2014 by kaynezhang
I wanted to get a document's children's properties but i kept on getting undefined error.

I pass the folder through js as
And in html.ftl

I've checked by rewrting my js as
and the properties as
And it returns the correct result.

Or, is there a way to get the document's folder in the ftl?

Thank you in advance!