Changes

UBIK Studio Manual

23 bytes added, 16 July
/* 5. Create View */
[[File:VI1.png|none|270px|link=]]
</div>
Create a new instance of a ReferenceViewItem using the Bulk Editor. Specify the name of the reference property in the "Reference" cell. Select the "Reverse" checkbox if the ReferenceViewItem is to be evaluated in reverse (right-to-left) order. Assign a query instance of the ReferenceViewItem to the "Reversereftype" attribute—either by dragging and dropping a metaclass object onto the cell or by selecting the desired metaclass from the dialog box that appears when you double-click the field.<div style="margin-top: 10px;"> [[File:ReferenceViewItemBulkEditor.png|none|right|700px|link=]]
<br style="clear:both" />
<div style="margin-top: 20px;">[[File:ReferenceViewItemBulkEditor.png|none|left|700px|link=]]
</div>
To add the ReferenceViewItem to the view, open the corresponding view in the RelationEditor: Custom -> View -> VIEW -> CUSTOM -> CUSTOM -> TEMPLATE -> VIE_01. The ReferenceViewItem can then be assigned to the view.
<div style="margin-top: 20px10px;">[[File:VI2createViewRelationEditor.png|none|left|700px|link=]]
</div>
<br style="clear:both" />
To correctly display data in hierarchical structures such as trees or nested lists, a view must retrieve the root objects (root elements) of the first level. This ensures that the view has the entry point for navigation and that child elements are referenced correctly. To create a RootObject, the MetaClass must be dragged into the BulkEditor. Then, an object can be created. This object must then be dragged onto the MetaClass in the Relation Editor.
<div style="margin-top: 20px10px;">
[[File:VI4.png|none|left|700px|link=]]
</div>
189
edits