Quickstart building a web application (Web/Mobile)
Lesson 8: Create a Media Select View
The Media Zoom View we created doesn’t work without a Media Select View. In this lesson we will create the Media Select View using the wizard.
Click Create New… and select the Mobile Select Wizard.
The first two pages of the wizard give some information.
On the third page enter the object name: oSelectMedia
Enter the file name: SelectMedia
Change the description: Media.
On the next page select Media as the main table.
On the next page we can select Media Fields as well as Person fields. Select the following Media Fields: - Title - Author
Enter the following Person Fields: - LastName - FirstName
On the next page select the Main Zoom navigation option, after all, we only want to zoom in to our Media Zoom View.
Select ZoomMedia as the Zoom View.
On the next page select the checkbox from Author and LastName. So they will be placed on a new line.
Set the Span from Title and Author to 2 columns.
Change the Style from Title to Caption, and from LastName and FirstName to Detail. <
Finish the wizard.
The Select Media Zoom View is created. Preview it in the Designer by pressing F7.
Run the application by clicking the run button or pressing F5.
Login with Admin, Admin.
Go to Menu, View, Media. An empty list is shown, because we didn’t enter any Media data yet.
Click the Add button to create a record, enter the following data: - Select the person: John Tuohy - Title: Champions - Author: Queen - Type: Audio file - Date purchased: 13-07-2017 - Price: €20,00