CMSAbstractTransformationGetFileUrl Method (Object, String, String) |
Returns URL of the attachment stored in the given column name.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax 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:
StringRemarks If fileName is not provided NodeAlias of a document is used.
See Also