Create a Unique File Name within the Document Manager folder structure.

<para> The Document Manager folder will be automatically created if it does not exist. </para> <para> The method exists primarily for use in Word and Excel VBA templates. </para>

Syntax

finDocumentManagerFunctions.CreateUniqueFileName(baseFileName, itemType, itemId, [subType], [uniqueFileNameRelative])

Parameters

NameTypeOptionalByRefDescription
baseFileName String The Base File Name.
itemType String The Item Type, e.g. Client.
itemId String The Item Id. If this is a blank String then a special Bulk folder will be returned.
subType String Optional The Item Sub-Type. If Item Type is Account then this should be either "Loan" or "Deposit". This will only be used if a finPOWER 5 Compatible Folder Structure is being used.
uniqueFileNameRelative String Optional ByRef The Unique File Name Relative to the relevant Document Manager folder.

Return Value

String

A String value.

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