Click or drag to resize
TransformationHelperGetFileUrl Method (Object, String, String)
Returns URL of the attachment.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax
C#
public string GetFileUrl(
	Object attachmentGuid,
	string fileName,
	string variant = null
)

Parameters

attachmentGuid
Type: SystemObject
Attachment GUID
fileName
Type: SystemString
Name of the file
variant (Optional)
Type: SystemString
Identifier of the attachment variant

Return Value

Type: String
See Also