DB Detail allows user to create a DB Detail Template Page. User can create a Template Record View Page using Database.
Step 1: On the Template Page list, click on "+ DB Detail" option for creating a DB Detail Template Page.
Step 2: DB Detail 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".
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. |
Page style |
Select the Page Style for the DB List page. It can be "Insert", "Update" |
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. |
Step 3: Window for the DB Detail Page settings appear. 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.
Step 4: Enter "Action" as Custom Action for a particular Cell as required.
Step 5: Following window shows the Summary of the Detail Page as per the settings done. Click on "Save".
Step 6: Following window shows DB Detail page added to the Template Page List.
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.