AttachmentURLProvider GetAttachmentUrl Method (Guid, String, String, Int32, String)Kentico 8.1 API Reference
Returns attachment URL.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

attachmentGuid
Type: OnlineSystem Guid
Attachment GUID
nodeAlias
Type: OnlineSystem String
Node Alias name
extension (Optional)
Type: OnlineSystem String
Extension
versionHistoryId (Optional)
Type: OnlineSystem Int32
Version history ID
prefix (Optional)
Type: OnlineSystem String
URL prefix, if null, "getdoc" is used, the prefix must be supported by the URL rewriting engine

Return Value

Type: OnlineString
See Also