Overview
The menu system allows users to navigate to different areas of the mobile app. It provides access to different features and workflows you deem important to the user’s needs. This information is accessible via the collapsed menu icon (☰).
Menus are specified in your authentication response.
How It Works
The platform allows you to create multiple menus for different types of users. For example, a user in one division could see a different menu than a user in another division. This assignment happens when a user logs in. The menu is specified in your authentication response. There are two ways to do this:
Return a string for the
menu_codepropertyUse this string to reference a menu you have built and saved in App Manager, as it is the most common approach
Dynamically build the entire Menu inside the API response itself
This is done by providing a full
menuobject, which contains an array of all menu items and properties to display
NOTE: The authentication response must include either
menuormenu_code. When providing both, the inlinemenuobject will always take precedence.
Key Components
When building a menu using the inline menu object, you will work with several menu items.
Menu Items
Each item on the Menu has a specific function and appearance.
The available menu items are:
home: Home screenmessages: Messages listbrowser: Launch a web browser, either embedded inside the app or an external browser, if specifiedload-list: Load listnews: News listtransaction-editor: Show form for sending form-based messagesdocuments-list: Documents listsettings: Settings screentelephone: Prompt to call a telephone numbersubmenu: A nested secondary menu with additional item typesNOTE: Only two menu levels are supported because the behavior of a submenu containing another submenu is undefined
scan-flow: Launches a scan flowscreen: Displays a dynamic action screentodo: Display TODO items pending completionpayroll: Display Payroll information for the usermedia-library: Displays a Media Libraryhours-of-service: Displays hours of service telematics informationlaunch-url: Launches the app (if installed) or directs the user to the App Store/Play Store to install itlogout: Log the user out of the app