Menu Navigation
Cisco UCS Director uses menu navigation to determine what reports and forms to display in the UI. For more information on the subject of report locations, refer to Specifying the Report Location.
The leftNavType field specifies the type of navigation to be used in your menu item.
The value none means that:
-
No navigation is required.
-
The context map rule associated with the menu item will use type = 10, name = "global_admin". (Important!)
Tip |
When the leftNavType is set to none, the type value and name value for the context map rule associated with the menu item comes in handy when you need to register your reports to this menu location. |
If the leftNavType is backend_provided, you must provide an implementation of com.cloupia.model.cIM.AbstractTreeNodesProviderIf that populates the left hand navigation tree.
Each node of the navigation tree must provide the following elements:
-
A label
-
The path to an icon to show in the UI (optional)
Note
The size of the icon should be 24 x 24 pixels and the format of the icon should be PNG.
-
The context type (for more details, see the section about registering report contexts)
-
The context ID (this will become the report context ID that you may use when generating tables)
The navigation tree must be associated with a menu ID. When registering the tree provider, use the corresponding menu ID.
Menu |
ID |
---|---|
Compute |
0 |
Storage |
1 |
Network |
2 |
Item |
ID |
---|---|
Compute |
50 |
Storage |
51 |
Network |
52 |