I have a Confluence plugin that adds a menu item ("web-item") to the system.header/right location. Now I want to develop a Scroll Viewport theme that also shows the menu item. I didn't find useful documentation on how to query existing web-items and render the HTML.
I found something for WebPanels but it doesn't work:
$webPanels.forLocation("system.header/right")
Any ideas on how to do this?
Thanks,
Guido