Changes

HowTo:Create a new ViewItem

136 bytes removed, 06:58, 2 April 2024
__NOTOC__
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'' in the namespace ''Custom.View.Items'' via the ''[[Class Browser]]''<br/>[[File:UI viewitem 01.PNG|thumb|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
#* Drag and drop a query object onto the cell
#* Select the desired Query from the dialog appearing after double-clicking the cell
==ReferenceViewItem==
#* selecting the desired Relation from the dialog appearing after double-clicking the cell
== Common 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#* Drag and drop a query object onto the cell#* Select the desired Query from the dialog appearing after double-clicking the cell == For all ViewItems ==
# 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]]
# Save the changes with {{key press|Ctrl|S}} or the save command
 
==See also==
* [[HowTo:Create a new View]]
* [[HowTo:Create a new ReferenceViewItem automatically]]
   [[Category:How-To|Create a new ViewItem]]
29
edits

Help improve this page!