DB List Detail

Navigation:  Knowledge Base > User Console > Applications > Application Manager > Template Manager > Create Template >

DB List Detail

Previous pageReturn to chapter overviewNext page

DB List Detail Template Page allows user to Create a Parent List Page and Child Record View Page or Detail Page. User Can create a Parent Child Combo through this option.

 

Step 1: On the Template Page list, click on "+ DB List Detail" option for creating a DB List Detail Page Template.

 

mobilous_appexe_console_template_TemplatePageListDBListDetail

 

Step 2: DB List Detail Template Page appears. Below page allows user to create the List Page first. Select already created table "items" as shown in image below. Set Parameters as mentioned in the table below. Click "Next".

Note: User can create a new table by clicking on "Add Table" buttons in "Phone Storage Based" or "Cloud Storage Based".

 

mobilous_appexe_console_template_DBListDetail

 

 

Parameter

Description

Phone Storage Based

Phone Storage Based section above displays the existing Tables and allows user to create new Table in Local Database.

Cloud Storage Based

Cloud Storage Based section above displays the existing Tables and allows user to create new Table in Local Database.

Template page title

Allows user to provide Template Page Title.

Template page hierarchy

Allows user to set Template Page hierarchy, where the Template page has to be child Page to another Template Page.

Cell style

Select the Cell Style for the DB List page. It can be "Default", "Right Aligned", "Subtitle", "Contact Form","Grid" and "Custom".

Right button

Allows user to specify the Right Button option as "Insert".

Where

User can specify the where condition to filter the records. The syntax of where condition is like "Fieldname='value'" which is a SQLite 3's where syntax.

Order

User can set Order By any Field from the Table.

 

Step 3: Window for the DB List Parent Page settings appear.

 

mobilous_appexe_console_template_DBListDetail1

 

Step 4: Select "List Cell Tap Action" and enter "Action" to be applied. Select Main Text, Main Image for the Default cell style and Click on "Next".

 

mobilous_appexe_console_template_DBListDetail11

 

Step 5: Detail Page appears as below. Set Detail Page Settings as mentioned in the table below.

 

mobilous_appexe_console_template_DBListDetail2

 

 

Parameter

Description

Page style

Select the Page Style for the DB Detail page. It can be "Insert", "Update"

Right button

Right Button is displayed as per the Page Style Selected.

Where

User can specify the where condition to filter the records. The syntax of where condition is like "Fieldname='value'" which is a SQLite 3's where syntax.

 

Step 6: Detail Page appears as below. Enter "Label" and select "Event Name" for applying action on the Cell.

Note: Here , "Label" column is Name/Identifier for the Labels displayed on the Page.

 

mobilous_appexe_console_template_DBListDetail3

 

Step 7: Enter Action as Custom Action for a particular Cell as required.

 

mobilous_appexe_console_template_DBListDetail4

 

Step 8: Following window shows the Summary of both the List View Page and Detail Page as per the settings done. Click on "Save".

 

mobilous_appexe_console_template_DBListDetail5

 

Step 9: Following window shows DB List Detail page added to the Template Page List.

 

mobilous_appexe_console_template_DBListDetail6

 

Step 10: Apply Template to another Project. The Template Page appears as below in the Page Editor in the destination Project.

Click here to know how to Apply Template to a Project.

 

DB List Page as copied from Template:

 

mobilous_appexe_console_template_DBListDetail_output_list

 

 

DB Detail Page as copied from the Template:

 

 

mobilous_appexe_console_template_DBListDetail_output1

 

 

mobilous_appexe_console_template_DBListDetail_output2