VeevaVault
VeevaVaultAttachment class
Represents a Veeva Vault article as an ad hoc file that can be included as an attachment for to a DocGen Package.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
global class VeevaVaultAttachment extends Loop.CaseAttachment
The VeevaVaultAttachment class exposes the following members:
Constructors
Member name | Description |
---|---|
VeevaVaultAttachment class | Creates an instance of the VeevaVaultAttachment class for the specified record, with the specified Veeva Vault article properties. |
Remarks
This class is defined within the Adhoc class.
VeevaVaultAttachment constructor
Creates an instance of the VeevaVaultAttachment class for the specified record, with the specified Veeva Vault article properties.
Namespace: LOOP
Package: Nintex DocGen for Salesforce
Syntax
VeevaVaultAttachment(Id recordId, Id caseId, String vaultId, String fileName, String mimeType, String displayType, String articleTitle, String downloadURL)
Parameters
recordId
Type: Id
The Salesforce record ID that corresponds to the Veeva Vault attachment record.
caseId
Type: Id
The Case ID to which the attachment is related.
The value provided for this parameter is used to display case information to the user.
vaultid
Type: String
The Veera Vault ID for the document.
The value provided for this parameter determines the uniqueness of Veeva Vault instances.
fileName
Type: String
The name of the file.
mimeType
Type: String
The MIME type of the file.
displayType
Type: String
The display type of the file. This parameter can be set to an arbitrary value.
articleTitle
Type: String
The name of the Veeva Vault article with which the attachment is associated.
downloadURL
Type: String
The URL from which the Veeva Vault file can be downloaded.
The value provided for this parameter must reference the Veeva Vault file ID and version number.
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.