Modifying Menu Text and Adding a Key

Change a menu item label and add introductory text for the start screen using a key.

  1. Open the Start screen design.
    For example, in the tool bar, choose Start in the screen selection control:
    Select Start screen
  2. In the Screen Design, shorten the menu text to fit better on the mobile device screen.
    1. In the menu, click Open Travel Request.
    2. In the Menu Item Properties view, change Name from Open Travel Request to Next.
  3. Add an HtmlView control for the Start screen.
    The HtmlView control defines basic HTML markup for the screen. It is a container to which you can add other controls from the Palette, as well as your own custom HTML code.
    1. In the Palette, select the HtmlView control.
    2. Click in the Start screen to add the control:

    Start screen with HtmlView control
  4. Click the Flow Design tab.
  5. Select the Client-initiated starting point.
    The Properties view shows all the keys in the create method of the TravelRequest mobile business object, which were automatically created when you dragged and dropped the create operation on the screen. If the Properties view does not open, right-click the Client-initiated screen and choose Show Properties View.
    Client-initiated screen properties
  6. Create a new key:
    1. In the Client-initiated Properties view, click New.
    2. Enter these values:
      • NameIntroKey
      • Typestring
      Note: Only string keys can be associated with an HtmlView control.
    3. Click OK.
      The new key, IntroKey, is added to the list of keys in the Properties view.
      Introkey properties
  7. Define the default value for the new key:
    1. In the Flow Design, double-click the Start screen to open its screen design.
    2. In the Start Screen, select the HtmlView control to display its properties.
    3. In HTMLView Properties, under Input Data Binding, choose IntroKey.
    4. In Default value, enter this message code:
      <H2>Travel Request App</H2>This application enables vacation requests to be sent for approval.<br>

      Introkey data binding
  8. View the current parameter settings of the Travel Request screen:
    1. Switch to the Travel Request screen design.

      For example, choose Travel Request in the screen selection control:


      Select Travel screen
    2. In the menu, select the Create operation to display its properties.
    3. In Properties, click Parameter Mappings.
      The parameter mapping table shows the mobile business object parameters for the operation and their keys.
      TravelRequest_create parameters
Related tasks
Creating a New Screenflow
Customizing the Module Display Name and Client Icon
Adding the Travel Request Screen
Making Screen Content Collapsible