The menu file provides the menu content for your app (if not API driven - see menu property of app.json file).
The top level element is an array with menu items.
An item may represent a form to launch or a sub menu.
Example of menu item to launch form myForm:
{ "title": "Form 1", "form": "myForm" }
To make an item a submenu, specify items property that will have an array of nested items. You may define multiple nested levels of submenus.
Example of the whole menu content with a submenu…
[
{
"title": "Form 1", "form": "myForm"
},
{
"title": "Sub menu",
"items": [
{ "title": "Form 2", "form": "myForm2" },
{ "title": "Form 3", "form": "myForm3" }
]
}
]
…and the menu rendered in the app.
Example menu