Add a File to the Document Manager that can then be linked to a Log.

Syntax

finLogUtilities.DocumentFileAdd(logObjectType, recordId, fileData, fileName, [enforceCloudConnectFileRestrictions], [fileNameResolved])

Parameters

NameTypeOptionalByRefDescription
logObjectType isefinLogObjectType The Log Object Type.
recordId String The Record Id, e.g., a Client Id or, in the case of a Security Statement Item Log, a String version of the Log's SecurityStatementItemPk.
fileData Byte() A Byte Array containing the Image File Data.
fileName String A File Name to save to.
enforceCloudConnectFileRestrictions Boolean Optional Indicates whether to enforce the finPOWER Connect Cloud File Upload Restrictions when adding the file. If omitted, a value of True is assumed.
fileNameResolved String Optional ByRef The actual File Name that the Document was saved to. This may have been modified from the supplied fileName to prevent overwriting an existing file.

Return Value

Boolean

A Boolean value indicating success.

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