Trees
Configuring trees in Konstrukt, the back office UI builder for Umbraco.
Last updated
Configuring trees in Konstrukt, the back office UI builder for Umbraco.
Last updated
A tree is a hierarchical structure that helps organise a section into logical sub-sections and is accessed in the main side panel of the Umbraco interface. In Konstrukt, a section may only have a single tree definition, however you can use folder nodes to help organise the tree structure how you need it.
Accesses the tree config of the given section.
Adds a tree to the current section.
Adds a tree to the current section in a group with the given name.
Adds a tree to the current section before the tree with the given alias.
Adds a tree to the current section after the tree with the given alias.
Sets the trees icon color to the given color. Possible options are black
, green
, yellow
, orange
, blue
or red
.
Adds a group to the current tree with the given name.
Starts a sub configuration for the existing Umbraco tree with the given alias.
The tree configuration for Konstrukt sections is a sub configuration of a config builder instance and is accessed via it's Tree
method.
The tree configuration for existing sections is a sub configuration of a config builder instance and is accessed via one of it's AddTree
methods.
Adds a folder to the current tree / group with the given name and a default folder icon. See the for more info.
Adds a folder to the current tree / group with the given name + icon. See the for more info.
Adds a collection to the current tree / group with the given names and description and default icons. An ID property accessor expression is required so that Konstrukt knows which property is the ID property. See the for more info.
Adds a collection to the current tree / group with the given names, description and icons. An ID property accessor expression is required so that Konstrukt knows which property is the ID property. See the for more info.
You can extend existing trees adding Konstrukt context apps and virtual sub trees by calling the WithTree
method of a instance.
Adds a context app with the given name and default icon. See the for more info.
Adds a context app to the Umbraco menu with the given name and icon. See the for more info.
Adds a context app with the given name and default icon before the context app with the given alias. See the for more info.
Adds a context app to the Umbraco menu with the given name and icon before the context app with the given alias. See the for more info.
Adds a context app with the given name and default icon after the context app with the given alias. See the for more info.
Adds a context app to the Umbraco menu with the given name and icon after the context app with the given alias. See the for more info.