<para> This performs the same functionality as a "Document" type Application Shortcut. </para> <para> If an HTML type Document is used, this will be converted into a PDF file before being returned. </para>
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| documentId | String | The Document Id. | ||
| parameters | ISKeyValueList | Parameters to pass to the Document. | ||
| fileDownloadInfo | finFileDownloadInfo | Optional | ByRef | The binary file data or Nothing if executing the Document did not produce any resulting file or is of a type that does not generate a file such as Email, SMS, Log or Script. If omitted, a value of Nothing is assumed. |
| bulkDocumentFileDownloadInfo | finFileDownloadInfo | Optional | ByRef | Documents may also return a bulk document. If omitted, a value of Nothing is assumed. |
| requestEmail | Boolean | Optional | Indicates whether to request that the Document produce an Email. This simply sets a special "PUBLISH:Email" parameter to True. If omitted, a value of False is assumed. |
A Boolean value indicating success.