Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Description
Excerpt |
---|
Additional actions visible in the lower left corner of many pages. |
Types of actions
1. Open
Navigates to another page/taskletWhat is an action menu?
The action menu concept comprise of two overall menus.
- The first is available through pressing the burger menu item on any page.
- The second is available through long pressing an item on any page with a list.
E.g. long pressing on an order in the order list page.
All menu items can be positioned in the two menus, using the menuPlacement for placement in the burger menu, and the contextMenuPlacement for placement in the context menu.
Both attributes expect a number for priority, or "OFF" to disable the functionality in that menu. The default for all menu items is 20.
When the menu is generated, all menu items enabled for their respective menus are ordered by the placement number, where less is more.
An example of how to setup the placement of menu items.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<actions> <open<page id="NavigageToThisPageIDReceive" icontype="mainmenupickOrderList" titleicon="Pickmainmenureceive"/> </actions> |
Sends a Single parameter to the Backend
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
... <actions> ... <adhocRegistration id="NameOfAction" registrationType="RegistrationTypeSentToBackend<open id="Attachments" icon="attachment" title="@{Attachments}" *menuPlacement="OFF" contextMenuPlacement="3"*/> <open id="RegisterImage" icon="mainmenupickcamera" title="Pick@{AttachImages}" *menuPlacement="OFF" contextMenuPlacement="2"*/> </actions> |
Action menu
</page> |
Both menu items are disabled for the burger menu by setting the value of menuPlacement to "OFF".
Their placement in the context menu is "RegisterImage" first and "Attachments" below as RegisterImage has a lower placement number - They do not need to be sequential.
This also means that IF placement is used, the order of appearance in the configuration file does not have any effect. However, if placement is not used, their order in the configuration file does matter.
Remember "less is more".
Overview
Child pages (Children Display) | ||
---|---|---|
|
Explore the Mobile WMS App
Page Tree | ||
---|---|---|
|