With Nuxeo Studio, you can configure as many virtual navigation views as you need.
Just follow these steps:
- Make sure you have all the required elements
- Configure the link and the query
- Configure the result layout
Make Sure You Have All the Required Elements
Required elements
- You need a hierarchical vocabulary: you can configure one using Studio;
- You need to have a document type that uses the hierarchical vocabulary for filling the value in one of its forms.
- In the Settings > Application Definition menu, make sure the target package Nuxeo JSF UI is checked.
Configure the Virtual Navigation Query and Link
To create a new virtual navigation:
- Make sure you have enabled Virtual Navigation in your Application Definition.
- Unfold the Listings & Views menu entry and click on Virtual Navigations. The list of existing custom virtual navigations is displayed.
- Click on the New button.
- Give your new virtual navigation an ID and click on the Next button.
- Fill in the Virtual Navigation configuration (see parameters below).
- Click on the Save button.
Field | Description |
---|---|
Label | The label is displayed the title of the virtual navigation tree, when you click on the corresponding tab. |
Property | It is the filtering property, that must exist in your document typology. First select the schema, then the vocabulary, and so the metadata, that will be used for the match. It can be a single or multi-valued vocabulary. |
Additional query filter |
You can use it to add more criteria to the search that will be run when the user clicks on a value in the virtual navigation. You can specify a given type (ecm:primaryType=... ) or leverage modification date, or whatever that respects NXQL syntax. See here for more information on the NXQL query syntax.
|
Vocabularies | Add here as many entries as you want levels in the virtual navigation tree. Even when all the values are in the same vocabulary, whatever the level, you need to reference this vocabulary at each level of the tree. |
Icon | Select the icon that will be displayed on the new virtual navigation tab. You can use icons uploaded in "Resources". |
Enabled | This property should always be clicked when you contribute a new virtual navigation view. Actually, it is useful when you want to disable an existing one. |
Configure the Result Layout of Your Virtual Navigation
To configure the virtual navigation
- On Virtual navigations, click on Results tab.
- Follow the steps described on the Customize search layout how to.