Adding a Menu Entry

About this task

To create a mobile device menu entry:

Procedure

  1. Create a menu entry using the Menu Applications Manager. On saving the screen, a new Menu Group called “Custom Menu” is created.
    Menu Group Details Screen
  2. Right-click Custom Menu > Default_Yantra_Mobile_Menu > Create New Menu Item and select Details.
    Menu Hierarchy Screen
  3. Add a new Menu Item with the description Mobile_Inventory_Inquiry, the Resource ID rfinventory, and the menu sequence as suggested on this Menu Item Details screen:
    The Menu Item Details Screen
  4. Create a bundle property for Mobile_Inventory_Inquiry with a value 'Inventory Inquiry' in the INSTALL_DIR/extensions/global/resources/extnbundle.properties file. This creates a mobile device menu option called Inventory Inquiry.
    Note: Ensure that the following file does not exist: INSTALL_DIR/resources/extn/extnbundle.properties

    This file must be removed because it will conflict with the extensions build process for bundle entries.

    Figure 1. Mobile Application Menu ScreenMobile Application Menu Screen

    Choosing this Menu option eventually invokes the JSP defined in the inner panel associated with this entity.

    For example, in the rfinventory UI entity, the/extensions/global/webpages/rf/wms/inventory/fmInventory.jsp file relative to theSterling Selling and Fulfillment Foundation base URL is invoked.