CMDBuild Forum

How to create custom navigation tree for selecting items in workorder

Dear all,

 

I am looking to create a customised navigation tree to display cards in the following hierarchy, so that I can select locations/objects during workorder generation:

 

Buildings > Floors > Inventory Items

 

It is a simple three level menu. However, currently the default navigation tree only shows buildings and floors, without showing the inventory items that belong to each floor (they have been added using the relations tab).

 

How can I get the navigation tree to display the inventory items belonging to each floor? Or if I were to create a new/custom navigation tree, how can I get openMAINT to refer the this new tree during items selection in workorders?

 

This is quite an urgent issue for me, so I would appreciate any replies or suggestions. Thank you!

 

Yours sincerely,

Wei Xiang

In order to change the hierarchy selection in the Workorder process for the widget "Locations/objects" you can just modify the corresponding navigation tree in Administration module => Navigation tree. 
Probably the navigation tree is the SpacesAndObjects one.
Here can modify it putting by flagging the corresponding "route", eg. Building => BuildingFloor => FloorItem in your case, and then save it.
CMDBuild Team

Previously Tecnoteca wrote:

In order to change the hierarchy selection in the Workorder process for the widget "Locations/objects" you can just modify the corresponding navigation tree in Administration module => Navigation tree. 
Probably the navigation tree is the SpacesAndObjects one.
Here can modify it putting by flagging the corresponding "route", eg. Building => BuildingFloor => FloorItem in your case, and then save it.
CMDBuild Team
 
 
 

Hi, thank you for responding. I solved the problem after looking into the SpacesandObjects tree more carefully. Even though the correct route was flagged, the items initially did not show up. I found that this was because a CQL filter was enabled for FloorItems (displayed as a line of code). After I removed the CQL filter then everything was fine and all items could be displayed properly.
 
Thank you!