Attachment

Attachment class

Represents an ad hoc file to be included as an attachment for a DocGen Package.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

global virtual class Attachment

The Attachment class exposes the following members.

Constructors

Member name Description
Attachment class

Creates an instance of the Attachment class for the specified record, using the specified file name and display type.

Properties

Member name Description
Attachment.isSelected property Indicates that the ad hoc file represented by the Attachment instance is to be selected by default on the DocGen Package run page.

Remarks

This virtual class is extended and overridden internally, as needed, to support specific types of ad hoc files to be used as attachments. This class is not meant to be extended or overridden from your code.

This class is defined within the Adhoc class.

Attachment constructor

Creates an instance of the Attachment class for the specified record, using the specified file name and display type.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

Attachment(Id recordId, String fileName, String displayType)

Parameters

recordId

Type: Id

The ID of the record for the attachment.

fileName

Type: String

The name of the file.

displayType

Type: String

The display type of the file. This parameter can be set to an arbitrary value.

Remarks

The values provided for fileName and displayType are displayed to the user in the Document name and Type columns, respectively, of the DocGen Package Run page.

Attachment properties

The Attachment class exposes the following members.

Properties

Member name Description
Attachment.isSelected property

Indicates that the ad hoc file represented by the attachment instance is to be selected by default on the DocGen Package Run page.

Attachment.isSelected property

Indicates that the ad hoc file represented by the Attachment instance is to be selected by default on the DocGen Package run page.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

Boolean isSelected

Property Value

Type: Boolean

true to select the ad hoc file by default on the DocGen Package run page; otherwise, false.

Related topics

Adhoc

Loop namespace