DB List

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

DB List

Previous pageReturn to chapter overviewNext page

DBList allows user to create a DB List Template Page. User can create a Template List View Page using Database.

 

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

 

mobilous_appexe_console_template_TemplatePageListDBList

 

Step 2: DB List Template Page appears. 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_DBList2

 

 

 

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.

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.

 

Table Details:

 

mobilous_appexe_console_template_DBList1

 

Step 3: Following window appears.

 

mobilous_appexe_console_template_DBList3

 

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

 

mobilous_appexe_console_template_DBList4

 

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

 

mobilous_appexe_console_template_DBList5

 

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

 

mobilous_appexe_console_template_DBList6

 

Step 7: 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.

 

mobilous_appexe_console_template_DBList7