AttachmentURLProviderGetAttachmentUrl Method (String, String, String, String) |
Returns friendly attachment URL.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax public static string GetAttachmentUrl(
string safeFileName,
string aliasPath,
string extension = null,
string variant = null
)
Parameters
- safeFileName
- Type: SystemString
Attachment safe file name. - aliasPath
- Type: SystemString
Node alias path. - extension (Optional)
- Type: SystemString
File extension. - variant (Optional)
- Type: SystemString
Identifier of the attachment variant definition.
Return Value
Type:
StringSee Also