Execute a standalone Document and return a binary data for download.

<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>

Syntax

finHtmlWidgetUtilities.ExecuteDocument(documentId, parameters, [fileDownloadInfo], [bulkDocumentFileDownloadInfo], [requestEmail])

Parameters

NameTypeOptionalByRefDescription
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.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finHtmlWidgetUtilities
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0