I’m trying to follow the logic in the navigations scheme for the “Ignition-101” page of the Quick Start project. I’m missing something, and I’m sure its simple.
The navigation section view is located at:
/ignition-101/nav/sidebar-dock-nav
This view has an Accordion object that hosts 2 views: one for “Perspective Features” and one for “Application”. These views are located at:
/ignition-101/nav/perspective-features
/ignition-101/nav/application
Each view contains a MenuTree, and each MenuTree contains a list of items that point to various views that are meant to be displayed. EG the “Bindings” item of the MenuTree in the Perspective-Features view has a target of:
/ignition-101/perspective-features/bindings
I thought this should point to the “bindings” view that contains the content describing bindings in ignition. But it doesn’t. The actual content is located at:
/ignition-101/feature-views/perspective-features/bindings
The content of the page itself is displayed via the view located at:
/ignition-101/nav/landing-page
This view contains an embedded view called “mainView” whose contents is loaded from a path that is formulated from two parameters on the landing-page view:
"ignition-101/feature-views/" + {view.params.folder} + "/" + {view.params.featureView}
So in order to display the content from the “bindings” view, these parameters would need to be set as:
folder=perspective-features
featureView=bindings
Resulting in the path that matches the actual location of the content:
ignition-101/feature-views/perspective-features/bindings
But this is where I am confused. How does clicking on the menu item populate the parameters on the mainView object? I can’t seem to find the missing link between the two components.
And what is the relationship between the target in the MenuTree item and the actual path to the content?