Click or drag to resize
CMSAbstractTransformationGetFileUrl Method (Object, Object, String)

Note: This API is now obsolete.

Returns URL of the attachment.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use GetAttachmentUrlByDocumentId method instead.")]
public string GetFileUrl(
	Object attachmentFileName,
	Object attachmentDocumentId,
	string variant = null
)

Parameters

attachmentFileName
Type: SystemObject
Name of the attachment file.
attachmentDocumentId
Type: SystemObject
Attachment document ID.
variant (Optional)
Type: SystemString
Identifier of the attachment variant definition.

Return Value

Type: String
See Also