Click or drag to resize
TransformationHelperGetAttachmentUrl Method

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: 13.0.131
Syntax
C#
[ObsoleteAttribute("This format of attachment URL is obsolete and will be removed in the next version. Use GetAttachmentUrlByGUID() method instead.")]
public string GetAttachmentUrl(
	string attachmentFileName,
	string nodeAliasPath,
	string variant = null
)

Parameters

attachmentFileName
Type: SystemString
Name of the attachment file.
nodeAliasPath
Type: SystemString
Attachment document alias path.
variant (Optional)
Type: SystemString
Identifier of the attachment variant definition.

Return Value

Type: String
See Also