Changes

HowTo:Relate Objects

98 bytes added, 09:06, 5 December 2019
# Set the [[MetaClass]] of '''B''' on the '''TARGETTYPE''' property of the previously created reference, as explained in the HowTo above.
# Make sure there is a [[MetaProperty]] on the MetaClass of object '''A''' you can use. If necessary, create a new MetaProperty instance and relate it to the MetaClass of '''A''' via the MetaClass to MetaProperty relation ([[HowTo:Add_a_MetaProperty_to_a_MetaClass]]).
# Set the previously created reference on the new MetaProperty ([[HowTo:Create_a_new_MetaProperty#REFERENCE]]).<br/> [[File:ReferencePropertie.PNG|880 px|border]]
# Make sure all changes are saved.
# Open the Bulk Editor for the MetaClass of '''A''' and set the property value for the new MetaProperty on '''A''' to '''B''', in one of the following ways:
## dragging and dropping object '''B''' onto the cell
## selecting the object '''B''' from the dialog appearing after double-clicking the cell <br/>[[File:SelectingObject.PNG|880 px|border]]
# Save object '''A'''. The connection is now established and can be used, e.g., in the ACM view or by programmatic customizing.