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

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

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