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

Note: This API is now obsolete.

Returns URL of the attachment stored in the given column name.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use GetAttachmentUrlByGUID method instead where you need to provide value of the attachment GUID, not the column name containing the attachment GUID.")]
public string GetFileUrl(
	Object attachmentGuidColumn,
	string fileName = null,
	string variant = null
)

Parameters

attachmentGuidColumn
Type: SystemObject
Name of the column that contains the attachment.
fileName (Optional)
Type: SystemString
Name of the file.
variant (Optional)
Type: SystemString
Identifier of the attachment variant definition.

Return Value

Type: String
Remarks
If fileName is not provided NodeAlias of a document is used.
See Also