Creating a Key Collection Menu Item

Create and configure a Key Collection menu item.

Key collection menu items can be used only on screens with a Listview control.

  1. In the Screen Design page, from the palette, click Menuitem, then click the Menu box.
  2. Click the menu item to select it and configure the properties in the Properties view.
  3. In the Properties view:
    Property Description
    Name Enter a valid name for the menu item.
    Note: To avoid wrapping of menu item names on Apple iOS devices, keep the name length to 10 or fewer characters.
    Key Select the key with which to bind the key collection menu item.
    Default Select to display the menu item prominently on the screen.
    Type Select one of these types:
    • Add Key Collection
    • Update Key Collection
    • Delete Key Collection
  4. If the menu item is an operation associated with a mobile business object, configure these properties in Details.
    Property Description
    Mobile business object The mobile business object with which the menu item is associated. Click Search to locate the mobile business object with which to associate the menu item.
    Invoke parent update No changes are made to the parent MBO, but the appropriate operations (create, update, delete) are performed on its descendants.
    Invoke operation The mobile business object operation with which the menu item is associated. Select the operation from the list, which is populated when you select the mobile business object.
    Invoke object query Invoke the object query from the menu item.
    Generate old value keys By default, this is selected, so that old value keys are generated. If you need the old value keys for update or parent update operations, leave this selected. If you unselect it, old value keys are not generated, which results in a much smaller message, which improves performance.
    ListView Select the Listview from the drop-down list.
  5. Select File > Save.