Author: Pareto



Arboreal is a tool which lets you manage multiple trees. These trees are 
stored within the portal. They can be used in Archetypes as a vocabulary for


The tool comes with a GenericSetup profile. Therefore you can just install it
by going to the portal setup system. It will create a configlet which you can 
access via the same portal setup.

Integration with Archetypes

The primary usage for Arboreal is to use it for hierarchical vocabularies. To
make this a reality Arboreal has its own widget and field types.

An example of configuring a field within a schema is given below.


        storeCompletePath = True,

The tree is used as a vocabulary. You do not have to create this tree.
Arboreal will create it automatically when it does not exist. The
MultiTreeSelectionWidget is basically a multi selection widget which indents
the tree nodes using spaces. This gives the visual appearance of a tree. And
lastly we have the MultiArborealField. With this field you can get a list of
all paths stored. The storeCompletePath keyword toggles parent storage. It is
set to False by default. Parent storage works as follows.

Say you have a tree like given below:

- Node
  - Subnode
If you select the sub node in the interface and store it the path will be
stored. When storeCompletePath is set to False it will only contain the path
to Subnode. If storeCompletePath is set to True the parent will be stored as
well. An example of the differences:

storeCompletePath = False

path = [Node/Subnode]

storeCompletePath = True

path = [Node/Subnode, Node]

Storing the full path is useful for when you want to use the path as a
filtering mechanism. You can then easily do a catalog query on a keyword index
for a specific path. The reason we are not just using a path index is that you
can select multiple points in the tree.


Martijn Pieters (
Jan Murre (
Jeroen Vloothuis (

Change History

2.0 - 2011-07-21

- Add a new `storeOnlyLeaves` option on the field.

- Adjust some templates for Plone 4 compatibility and allow renaming of nodes.

- Adjust imports to match Plone 4 locations, avoid `__implements__`.

- Add z3c.autoinclude entry point.

- Update GS profile to Plone 4-style.

- Update distribution metadata.

1.0 - 2008-09-18

- Allow creation of nodes with a specific id.

- Made XML import/export code accept a path, defaulting to old-hardcoded value.

- Converted to an egg, renamed to collective.arboreal, updated to Z3 tech,
  replaced with a GS profile.

- Initial import to the collective
  [jvloothuis, jjmurre]