Upgrades Questions on upgrading to version 6.x.
Version 6.x > Upgrades > alternative for CMS.FileManager.AttachmentManager.GetAttachmentUrl View modes: 
User avatar
Member
Member
cadi2108 - 1/16/2012 6:29:41 AM
   
alternative for CMS.FileManager.AttachmentManager.GetAttachmentUrl
Hello,

I upgraded Kentico from version 5.5 to 6.0. Until now I used function CMS.FileManager.AttachmentManager.GetAttachmentUrl, but now this function is not available. Is there in Kentico 6.0 an alternative function for this?

Best regards.

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/16/2012 6:57:53 AM
   
RE:alternative for CMS.FileManager.AttachmentManager.GetAttachmentUrl
Hello,

The mentioned function is available also in version 6 of Kentico CMS, but the namespace was changed to:

CMS.TreeEngine -> AttachmentURLProvider -> GetAttachmentUrl()


Best regards,
Jan Hermann

User avatar
Member
Member
cadi2108 - 1/16/2012 7:53:38 AM
   
RE:alternative for CMS.FileManager.AttachmentManager.GetAttachmentUrl
Thank you very much.

Best regards.

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/16/2012 8:14:54 AM
   
RE:alternative for CMS.FileManager.AttachmentManager.GetAttachmentUrl
Hello,

It would be also practical to read following blog post about API changes between version 5.5 R2 and version 6.0:

http://devnet.kentico.com/Blogs/Martin-Hejtmanek/November-2011/Changes-in-the-API-from-version-Kentico-CMS-5-5-R2.aspx

Best regards,
Jan Hermann