Introduction
If you know what the design for one of your application screens, or forms, will be before you have created an entity for the data the form will use, you can create and configure the form in Xelence first.
When you have added the fields you want your form to have, you can create an entity and database table from that form. Xelence will use the fields on your form to create the related data elements.
Prerequisites
An entity and form with the same name should not already exist.
|
Quick Steps |
| 1 |
Click the Create New Item icon, then select New Page |
| 2 |
Select the Page Type, then click Proceed |
| 3 |
Select the template |
| 4 |
Rollover the Form Layout, then click Choose |
| 5 |
Enter the Form Details, then click Finish |
| 6 |
Add the controls |
| 7 |
Save the form |
| 8 |
Click More, then click Create Entity |
| 9 |
Update the entity, then click Finish |
Detailed Steps
Step 1. Click the Create New Item icon, then select New Page.
The Create New Item icon is in the top left corner of Xelence's landing page.
It begins the process of creating a new item.
Step 2. Select the Page Type, then click Proceed.
This is the object you are creating. This example creates a maintenance form.
Step 3. Select the template.
This example uses a default template.
Step 4. Roll over the Form Layout, then click Choose.
Roll over the layout to choose the form based on how you want it to look to users.
Step 5. Enter the Form Details, then click Finish.
The important properties are:
- Form Name (ID): Programmatic name of the form.
- Folder: Specifies the location of the form. You must choose an existing folder.
You are not entering the Entity because you are creating a form without an entity to base it on. You will create the entity later.
Xelence creates the form.
Step 6. Add the controls.
Add fields from the toolbox.
Step 7. Save the form.
Step 8. Click More, then click the Create Entity icon.
Xelence uses the form's controls to create the entity.
Step 9. Update the entity, then click Finish.
If desired, add a Description, or add or delete columns or properties.
Clicking Finish creates the entity file.
Xelence confirms that it has created the entity and the database table. From now on, you can configure the entity whenever you want.
When you have created the entity, it should look something like this:
This post is part of the Maintenance Form topic. Click here to open the Maintenance Form Overview.
#Xelence
#Forms