AttachmentInfoProviderGetUniqueTemporaryAttachmentFileName Method |
Method gets unique temporary attachment file name in the form scope.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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:
StringUnique attachment name
See Also