Fields
Output fields
| Parameter | Description | |
|---|---|---|
nameString |
Name of the generated document. | |
downloadUrlString |
URL to download the generated document. | |
contentVersionIdString |
Id of the Salesforce ContentVersion for the generated document, when stored as a Salesforce File. | |
file |
The generated document as a Resource. | |
previewUrlString |
URL to preview the generated document. |
Constructors
global GeneratedDocument(String name, String downloadUrl, Resource file)
global GeneratedDocument( String name, String downloadUrl, String contentVersionId )