Jump to: navigation, search

Difference between revisions of "HowTo:Create a new View"


 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The [[View]] is used to make evident the [[Reference]]'s and [[Relation]]'s between [[MetaClass]]'s with further ViewItem's ([[QUERYVIEWITEM]], [[REFERENCEVIEWITEM]] and [[RELATIONVIEWITEM]]).
+
To display objects in a hierarchical manner a [[View]] and its related [[VIEWITEMS|ViewItem's]] ([[QUERYVIEWITEM]], [[REFERENCEVIEWITEM]] and [[RELATIONVIEWITEM]]) are evaluated.
 +
A View must also obtain a set of root objects displayed on the first hierarchy level.
 +
 
 +
== Creating the View instance ==
 
# Navigate to the MetaClass ''View'' via the ''[[Class Browser]]''<br/>[[File:UI_view_01.png|220 px|border|alt=View|View]]
 
# Navigate to the MetaClass ''View'' via the ''[[Class Browser]]''<br/>[[File:UI_view_01.png|220 px|border|alt=View|View]]
 
# Create a new instance using the ''[[Bulk Editor]]''<br/>[[File:UI_view_02.png|880 px|border|alt=View|View]]
 
# Create a new instance using the ''[[Bulk Editor]]''<br/>[[File:UI_view_02.png|880 px|border|alt=View|View]]
# Set at least name, description
+
# Set at least name and description
# To see now the entire structure in the [[View Test Environment]], nor the required ViewItem's must be added to view with the ''[[Relation Editor]]''.<br/>[[File:UI_view_03.png|330 px|border|alt=View|View]]
+
# Save the changes with {{key press|Ctrl|S}} or the save command
+
  
==See also==
+
== Configuring the View ==
* [[Create a new MetaClass]]
+
[[File:UI_view_03.png|330 px|border|alt=View|View]]
* [[UBIK Studio Basics]]
+
=== Defining root objects ===
 +
# 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 ===
 +
# Relate a set of ViewItems to the View via {{Rel|SYSREL_VIEW|SYSREL_VIEW}}
 +
 +
== Testing the View ==
 +
# Save all changes with {{key press|Ctrl|S}} or the save command
 +
# Test the view in the [[View Test Environment]].
 +
 +
 +
 +
==See also==
 +
* [[HowTo:Use a Query in a View]]
 +
* [[HowTo:Create a new ViewItem]]
 +
* [[HowTo:Create a new ReferenceViewItem automatically]]
  
[[Category:How-To]]
+
[[Category:How-To|Create a new View]]
[[Category:UBIK Studio]]
+

Latest revision as of 06:58, 2 April 2024

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.

Creating the View instance

  1. Navigate to the MetaClass View via the Class Browser
    View
  2. Create a new instance using the Bulk Editor
    View
  3. Set at least name and description

Configuring the View

View

Defining root objects

  1. Relate single root objects via IC RELATION.png SYSREL VIEWROOT or a query fetching a list of objects via IC RELATION.png SYSREL VIEWROOTQUERY

Defining hierarchy levels

  1. Relate a set of ViewItems to the View via IC RELATION.png SYSREL VIEW

Testing the View

  1. Save all changes with Ctrl+S or the save command
  2. Test the view in the View Test Environment.


See also