TransformationHelperGetFileUrl Method (Object, String, String) |
Returns URL of the attachment.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax public string GetFileUrl(
Object attachmentGuid,
string fileName,
string variant = null
)
Parameters
- attachmentGuid
- Type: SystemObject
Attachment GUID - fileName
- Type: SystemString
Name of the file - variant (Optional)
- Type: SystemString
Identifier of the attachment variant
Return Value
Type:
StringSee Also