Click or drag to resize

ReferenceTreeComplexReference Enumeration

The Complex Placeholder - Available Triggers that can perform logical actions against an object in order to retrieve an Object. These Items Modify the Base Context Object.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public enum ComplexReference
Members
  Member nameValueDescription
UNINITIALIZED0 Default UNINITIALIZED Value.
PARENT1 Returns the 'Default Owner'
PREVIOUSVERSION2 Returns the Previous Version of An Object Usage Sample: %PREVIOUSVERSION_3.PROPERTY_0% Returns the Name or Title of the Object 3 versions ago.
SPECIFICVERSION3 Returns a specific Version of An Object Usage Sample: %SPECIFICVERSION_3.PROPERTY_0% Returns the Name or Title of the Object at version 3.
RELATEDFROMOBJECT4 Performs a call to GetRelationships( Object Type = Provided ID, Relation Type = FromThisObject ) Returns the resulting Lookups collection. Usage Sample: %FOREACH( #{ %RELATEDFROMOBJECT_0% }, #{ This is a related object %PROPERTY_0% } )%
RELATEDTOOBJECT5 Performs a call to GetRelationships( Object Type = Provided ID, Relation Type = ToThisObject ) Returns the resulting Lookups collection. Usage Sample: %FOREACH( #{ %RELATEDTOOBJECT_0% }, #{ This is a related object %PROPERTY_0% } )%
RELATEDFROMCLASS6 Performs a call to GetRelationships( Class = Provided ID, Relation Type = FromThisObject ) Returns the resulting Lookups collection. Usage Sample: %FOREACH( #{ %RELATEDFROMCLASS_0% }, #{ This is a related object %PROPERTY_0% } )%
RELATEDTOCLASS7 Performs a call to GetRelationships( Object Type = Provided ID, Relation Type = ToThisObject ) Returns the resulting Lookups collection. Usage Sample: %FOREACH( #{ %RELATEDTOCLASS_0% }, #{ This is a related object %PROPERTY_0% } )%
RELATIONSHIPS8 Performs a call to GetRelationships( Relation Type = Any ) Returns all relationships. Usage Sample: "This object is %OBJTITLE%, with %COUNT( #{%RELATIONSHIPS%} )% related items." Usage Sample: "This object is %OBJTITLE%, with related items:
%FOREACH( #{%RELATIONSHIPS%}, #{- %PROPERTY_0%
} )%"
See Also