Click or drag to resize
AttachmentInfoProviderGetUniqueTemporaryAttachmentFileName Method
Method gets unique temporary attachment file name in the form scope.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public static string GetUniqueTemporaryAttachmentFileName(
	Guid formGuid,
	string fileName,
	int currentAttachmentId,
	int siteId
)

Parameters

formGuid
Type: SystemGuid
GUID of the form
fileName
Type: SystemString
Name of file
currentAttachmentId
Type: SystemInt32
Current attachment ID
siteId
Type: SystemInt32
Site ID

Return Value

Type: String
Unique attachment name
See Also