TransformationHelperGetAttachmentUrlByDocumentId Method |
Returns URL of the attachment.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax public string GetAttachmentUrlByDocumentId(
string attachmentFileName,
int attachmentDocumentId,
string variant = null
)
Parameters
- attachmentFileName
- Type: SystemString
Name of the attachment file. - attachmentDocumentId
- Type: SystemInt32
Attachment document ID. - variant (Optional)
- Type: SystemString
Identifier of the attachment variant definition.
Return Value
Type:
StringSee Also