Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How does sitenavbar build the navItems json?


Level 2

I have made an overlay of "social/console/components/hbs/sitenavbar" to make some custom additions.  The sitenavbar.hbs loops through the 'navItems' data to produce the links, and I want to add a custom piece of data to the 'navItems' json that is generated.  Would someone please help me understand how the 'navItems' json data gets created?

My best guess is that the "{{#include }}" script used by "social/console/components/hbs/sitepage/sitepage.hbs" to add sitenavbar is doing it, but I can't figure out how.



0 Replies