A menu document defines a navigation menu that can be used by a menu widget. Typically the main menus for your application are defined in device types, while you use menu documents for auxiliary menus, e.g. a side bar.
A menu consists of a list of menu items, which optionally contain sub-items. Depending on the widget a number of levels are allowed.
If security is enabled, the menu will only show items that the user has access to.
2 Menu Item
Menus are composed of menu items. Menu items can contain a number sub-items. Menu bars can go two levels deep, the navigation tree – three levels, and the simple menu bar cannot have any sub-items.
2.1 Menu Item Properties
A menu item or a sub-item has the following general properties:
Icon – you can select a glyphicon (a character in a special font that stays sharp while scaling) or an image that will appear next to or above the caption in the menu widget
Target – the target of a menu item is a page or a microflow that will be opened when the item is clicked. A menu item that has sub-items cannot have a target.
To open a page with a data view on it from a menu item, set a microflow that first retrieves an object for the data view and then opens the page as a target.