Forum Discussion

iftomkins's avatar
11 years ago

Freemarker built-ins for nodes (ex. ?children)

I attempted to use ?children on the coreNode object but it threw an error. I am referencing this freemarker documentation: http://freemarker.org/docs/ref_builtins_node.html#ref_builtin_children

 

Is there a limited portion of the freemarker language available? If so, is there documentation other than this page? http://lithosphere.lithium.com/t5/developers-knowledge-base/Writing-custom-components-in-Lithium-Studio/ta-p/9217

 

Thanks,

Alan

1 Reply

  • YuriK's avatar
    YuriK
    Khoros Expert
    11 years ago

    Hey Alan,

     

    The coreNode object is not a Freemarker Node (XML) object,  it is an object that represents a Node in the community (community, board, or category), therefore you cannot use the ?children call on it. Documentation specific to coreNode can be found here, hopefully it has what you're looking for. 

     

    Please let me know if there is something specific that you are trying to retrieve using coreNode and are unable to.

     

    Hope this helps,

     

    Yuri