In this example, you define an entry list for a drop-down list control, refine the layout, deploy the model and then export it.
You have created the example in Adding a Second Data Service and it is open in Storyboard.
Modify the controls of the Input Form:
Click the Layout tab.
Change the order of the fields by moving the Sales Org. field up and the Customer No. field down
Right-click the Sales Org. field and choose Properties from the context menu. The Control Properties dialog box is displayed.
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.
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.
Click the (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.
Create two more entries (using the Add button), as follows:
Value |
Display Text |
---|---|
2000 |
Full Screens |
3000 |
Jumbo Screens |
Click Close.
Go back to the Display tab and from the Label position drop-down list, choose Long label.
Save the model.
Your file is saved, in .gml format. When building other models, you can import the file using the
option.Deploy the model and view it in runtime. It should look similar to the following:
(Salesorder iView - Final Step)
Finally, export the model and save it on your computer:
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.
Choose
An Exporting message is displayed, followed by the File Download dialog box.Click Save and in the Save As dialog box, navigate to the location in which you want to save the model.
Click Save.
Your file is saved in .gml format. When building other models, you can import the file using the
option.