Relationship

Relationship class

Stores relationship information for the DocGen Package being run.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

global class Relationship

The Relationship class exposes the following members.

Constructors

Member name Description
Relationship Creates an instance of the Relationship class.

Properties

Member name Description
Relationship.Children property Gets or sets a list of relationships that define the child relationships for the parent relationship.
Relationship.Name property Gets or sets the name of the relationship.
Relationship.Parent property Gets or sets the parent relationship of this child relationship, if applicable.
Relationship.RelatedByField property Gets or sets the name of the field by which the relationship with the parent is defined.

Remarks

This class is defined within the ExternalData class.

Relationship constructor

Creates an instance of the Relationship class.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

Relationship()

Relationship properties

The Relationship class exposes the following members.

Properties

Member name Description
Relationship.Children property Gets or sets a list of relationships that define the child relationships for the parent relationship.
Relationship.Name property Gets or sets the name of the relationship.
Relationship.Parent property Gets or sets the parent relationship of this child relationship, if applicable.
Relationship.RelatedByField property Gets or sets the name of the field by which the relationship with the parent is defined.

Relationship.Children property

Gets or sets a list of relationships that define the child relationships for the parent relationship.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

List<Relationship> Children

Property Value

Type: List<Relationship>

A list of relationships that define the child relationships for the parent Relationship.

Relationship.Name property

Gets or sets the name of the relationship.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

String Name

Property Value

Type: String

The name of the relationship.

Relationship.Parent property

Gets or sets the parent relationship of this child relationship, if applicable.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

Loop.ExternalData.Relationship Parent

Property Value

Type: Relationship

For child relationships, the parent relationship of this child relationship; otherwise, null.

Relationship.RelatedByField property

Gets or sets the name of the field by which the relationship with the parent is defined.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

String RelatedByField

Property Value

Type: String

The name of the field by which the relationship with the parent is defined.

Related topics

ExternalData

Loop namespace