How to link a Tree View component to a Results Container in V2 Panels?

Hi everyone,

​I’m currently working with the new V2 Panel system and I’m looking for the best way to connect two specific containers (components) on a single page.

​The Setup:
​Container A (Sidebar/Navigation): This contains a Tree Structure. For example, a hierarchy like Cables → Microphone Cables.
​Container B (Main Content): This is intended to display Search Results or filtered data based on the selection in Container A.

​The Goal:
I want to “link” these containers so that when a user selects a specific node in the Tree View (e.g., clicking on “Cables”), the Results Container automatically updates to show all items associated with that selection.

​My Questions:
​What is the standard procedure in V2 to pass the selection state from the Tree component to the Results container?
​Do I need to set up a global variable/state, or is there a built-in “Link” or “Event Trigger” feature between these two panels?
​Are there specific naming conventions for the containers to ensure they communicate correctly?

​Any advice or documentation links regarding inter-panel communication in V2 would be greatly appreciated!

​Thanks in advance!

Hello, the Tree Block has not yet been officially released.

1 Like