Show TOC

Procedure documentationFine-Tuning Locate this document in the navigation structure

 

In this example, you define an entry list for a drop-down list control, refine the layout, deploy the model and then export it.

Prerequisites

You have created the example in Adding a Second Data Service and it is open in Storyboard.

Procedure

  1. Modify the controls of the Input Form:

    1. Click the Layout tab.

    2. Change the order of the fields by moving the Sales Org. field up and the Customer No. field down

    3. Right-click the Sales Org. field and choose Properties from the context menu. The Control Properties dialog box is displayed.

    4. Click the General tab and from the Control type drop-down list, choose Drop-down list to change the field type. This requires you to create a list of menu options for this control.

    5. Click the Entry List tab. You want to define a Static list of entries, meaning a set list of entries whose values are defined for them.

    6. Click the Add (Add) button at the right to create the first entry. In the Value column, write 1000 and in the Display Text column, write Flat Screens.

    7. Create two more entries (using the Add button), as follows:

      Value

      Display Text

      2000

      Full Screens

      3000

      Jumbo Screens

    8. Click Close.

    9. Go back to the Display tab and from the Label position drop-down list, choose Long label.

  2. Save the model.

    Your file is saved, in .gml format. When building other models, you can import the file using the   Model   Import from File  option.

  3. Deploy the model and view it in runtime. It should look similar to the following:

    Salesorder iView - Final Step (Salesorder iView - Final Step)

  4. Finally, export the model and save it on your computer:

    1. Click the Design tab and go to the top level of your model by clicking FirstExample (the closed iView level) in the navigation path above the board.

    2. Choose   Model   Export to File.  An Exporting message is displayed, followed by the File Download dialog box.

    3. Click Save and in the Save As dialog box, navigate to the location in which you want to save the model.

    4. Click Save.

Result

Your file is saved in .gml format. When building other models, you can import the file using the   Model   Import from File   option.