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.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public enum ComplexReference

Members

UNINITIALIZED 0 Default UNINITIALIZED Value.
PARENT 1 Returns the 'Default Owner'
PREVIOUSVERSION 2 Returns the Previous Version of An Object Usage Sample: %PREVIOUSVERSION_3.PROPERTY_0% Returns the Name or Title of the Object 3 versions ago.
SPECIFICVERSION 3 Returns a specific Version of An Object Usage Sample: %SPECIFICVERSION_3.PROPERTY_0% Returns the Name or Title of the Object at version 3.
RELATEDFROMOBJECT 4 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% } )%
RELATEDTOOBJECT 5 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% } )%
RELATEDFROMCLASS 6 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% } )%
RELATEDTOCLASS 7 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% } )%
RELATIONSHIPS 8 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