Building the "Order Management" Training App : Creating a Home page
Prerequisite : The designer user has the TRN_SUPERADMIN responsibility, the Order has state model and a pivot table.
What is a Home page ?
A View is a structured collection of components that define user interfaces, such as domain or group homepages. It can include predefined searches, crosstabs, custom UI components... Learn more
Creating a Home page for the TRN_SUPERADMIN Group
To create a home page for the TRN_SUPERADMIN Group, follow the steps below :
-
In the User interface > Views > Home page menu, open TrainingScope
This home page was automatically created during the Create module process.
-
Click
-
Select the second template on the first row
Adding the list of Pending Orders
- Click the edit icon on the first View area
- Fill in the View area information like so :
- Type : Preset search
- Title enabled : Toggled
- Preset search name : TrnOrder-Pending
- Object to search : TrnOrder
- Additive SQL Filter :
trn_ord_state = 'P'
- Click Save
Adding the "Orders per state" Pivot table
- Click the edit icon on the second View area
- Fill in the View area information like so :
- Type : Crosstable
- Title enabled : Toggled
- Pivot table Name : TrnOrderTc
- Table : Toggled
- Click Save
- Click Close
Setting titles for the View areas
- In the View areas panel linked to the View, open the Preset search
- In the View area translate list linked to the View area, click Create
- Fill in the View area translate fields like so :
- Language : English
- Translation : Pending orders
- Click Save & Close
Test the Home page with the usertest User
- Clear the platform's cache and log in using usertest
For a detailed step-by-step, see : Testing the User
Success
The Home page displays the "Pending orders" view and the "Orders per state" pivot table
