Difference between revisions of "HowTo:Create a new View"
(→Defining root objects) |
(→Configuring the View) |
||
Line 10: | Line 10: | ||
[[File:UI_view_03.png|330 px|border|alt=View|View]] | [[File:UI_view_03.png|330 px|border|alt=View|View]] | ||
=== Defining root objects === | === Defining root objects === | ||
− | # Relate | + | # Relate single root objects via {{Rel|SYSREL_VIEWROOT|SYSREL_VIEWROOT}} or a query fetching a list of objects via {{Rel|SYSREL_VIEWROOTQUERY|SYSREL_VIEWROOTQUERY}} |
− | + | ||
− | + | ||
=== Defining hierarchy levels === | === Defining hierarchy levels === | ||
− | # Relate a set of ViewItems to the View | + | # Relate a set of ViewItems to the View via {{Rel|SYSREL_VIEWITEMS|SYSREL_VIEWITEMS}} |
# Save the changes with {{key press|Ctrl|S}} or the save command | # Save the changes with {{key press|Ctrl|S}} or the save command |
Revision as of 16:23, 30 July 2015
To display objects in a hierarchical manner a View and its related ViewItem's (QUERYVIEWITEM, REFERENCEVIEWITEM and RELATIONVIEWITEM) are evaluated. A View must also obtain a set of root objects displayed on the first hierarchy level.
Contents
Creating the View instance
- Navigate to the MetaClass View via the Class Browser
- Create a new instance using the Bulk Editor
- Set at least name and description
Configuring the View
Defining root objects
- Relate single root objects via SYSREL VIEWROOT or a query fetching a list of objects via SYSREL VIEWROOTQUERY
Defining hierarchy levels
- Relate a set of ViewItems to the View via SYSREL VIEWITEMS
- Save the changes with Ctrl+S or the save command
- Test the view in the View Test Environment.