Jump to: navigation, search

Changes


HowTo:Create a new MetaProperty

7 bytes added, 13:04, 23 September 2013
__NOTOC__
[[File:IL_HowTo_CreateMetaProperty_01.png|thumb|alt=Create new MetaProperty|Create new MetaProperty]]
A new [[MetaProperty]] has to be created as an instance from [[CUSTOMMETACLASS]] using the ''[[Bulk Editor]]'' control
# Navigate to the MetaClass ''CUSTOMMETAPROPERTY''
# Create a new instance of ''CUSTOMMETACLASS'' by entering a name
# Set the data type for the property<br/>[[File:IL_HowTo_CreateMetaProperty_01.png|220 px|alt=Create new MetaProperty|Create new MetaProperty]]
# It is recommenmded to set at least the description and namespace
# Save the changes with {{key press|Ctrl|S}} or the save command
== Optional configuration ==
=== Assign a reference ===
[[File:IL_HowTo_CreateMetaProperty_AssignReference_01.png|thumb|alt=Assign a reference|Assign a reference]]
Use a reference if the value of the property should link to an {{UBIK}} object. The data type of the MetaProperty has to be ''Guid'' that the data (guid) can hold a reference to an {{UBIK}} object.
#* selecting the desired reference from the dialog appearing after double-clicking the cell
#* dragging and dropping the reference object onto the cell
[[File:IL_HowTo_CreateMetaProperty_AssignReference_01.png|220 px|alt=Assign a reference|Assign a reference]]
=== Assign a selective list ===
[[File:IL_HowTo_CreateMetaProperty_AssignSelectiveList_01.png|thumb|alt=Assign a selective list|Assign a selective list]]
Define a selective list to a property, if the respective column should display a Combobox with all items of the list instead of the value field. The value can then only be selected from the list, but not be edited manually anymore.
#* selecting the desired lsit from the dialog appearing after double-clicking the cell
#* dragging and dropping the list object onto the cell
[[File:IL_HowTo_CreateMetaProperty_AssignSelectiveList_01.png|220 px|alt=Assign a selective list|Assign a selective list]]
=== Set a unit item ===
10,686
edits