Changes

HowTo:Create a new ViewItem

231 bytes added, 11:44, 24 March 2015
A [[View|view]] uses different [[VIEWITEMS|ViewItems]] to evaluate [[Queries]], [[Relations]] or [[References]] between [[MetaClasses]] per hierarchy level. The result is e.g. displayed in the [[View Test Environment]].
There are three different ''ViewItems'' which can be found in the namespace ''Custom.View.Items'' via the ''[[Class Browser]]''<br/>[[File:UI viewitem 01.PNG|330 px|border|alt=ViewItem|ViewItem]]
== QueryViewItem ==
Use this to place a query within a view:
# Create a new instance of a '''[[QUERYVIEWITEM|QueryViewItem]]''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 02.PNG|880 px|border|alt=View|View]]
# Assign a query instance of the ''QueryViewItem'' to the '''QUERY''' attribute either by
==ReferenceViewItem==
Use this to evaluate hierarchy informations between objects using [[REFERENCE|references]]:
# Create a new instance of a '''[[REFERENCEVIEWITEM|ReferenceViewItem]]''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 03.PNG|990 px|border|alt=View|View]]
# Set the name of the reference property in the '''REFERENCE''' cell
== RelationViewItem ==
Use this to evaluate hierarchy informations between objects using [[RELATION|relations]]:
# Create a new instance of a '''[[RELATIONVIEWITEM|RelationViewItem]]''' using the ''[[Bulk Editor]]''<br/>[[File:UI viewitem 04.PNG|990 px|border|alt=View|View]]
# Set the '''REVERSE''' checkbox if the ''RelationViewItem'' should be evaluated from right to left instead of left to right
#* selecting the desired Relation from the dialog appearing after double-clicking the cell
== Common ==
# Set at least name and description
# The required ViewItem's must be added to the view with the ''[[Relation Editor]]''.<br/>[[File:UI_view_03.png|330 px|border|alt=View|View]]
10,686
edits