Solved
Forum Discussion
VarunGrazitti
11 years agoBoss
Hi tomb - you will find all the required context objects here to fetch the required details http://community.lithium.com/t5/Developers-Knowledge-Base/coreNode-FreeMarker-context-object/ta-p/9319
Full liist here - http://community.lithium.com/t5/Developers-Knowledge-Base/FreeMarker-context-objects-and-directives/ta-p/9217
tomb
11 years agoHelper
Thanks,
However the first link redirects me to homepage. The second page is where I looked for, didn't find anything.
However the first link redirects me to homepage. The second page is where I looked for, didn't find anything.
- NicoB11 years agoLithium Alumni (Retired)Hi,
you should look at the coreNode object here http://community.lithium.com/t5/Developers-Knowledge-Base/coreNode-FreeMarker-context-object/ta-p/9319
You can leverage the ancestors property which gives you all the parents of the current node and from there you can get all the information you need about the community structure.
Thanks,
Nico- tomb11 years agoHelper
Thank you so much. And sorry can't select you as the solution as he was the first.
- VarunGrazitti11 years agoBossYes, correction - the link is http://community.lithium.com/t5/Developers-Knowledge-Base/coreNode-FreeMarker-context-object/ta-p/9319
- tomb11 years agoHelper
Thanks, it worked perfectly.