Click or drag to resize
CMSAbstractTransformationGetFileUrl Method (Object, String, String)
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: 10.0.0
Syntax
C#
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