Resently started to work with kentico 6.0 .
I have build custom document type with field of “File” type, where administartor can upload file.
Now i’m trying to build a transformation from where site users will be able to download this file:
(like zipped source code of projects in codeproject)
Is where a easy way to do it in kentico?
thanks
Resently started to work with kentico 6.0 . I have build custom document type
Share
You likely need to look into the built-in Transformation methods available to you (found at /CMSHelp/index.html?newedit_transformation_methods.htm of your Kentico instance).
In this case, I think what you want is
GetFileUrl(object attachmentGuidColumn)You’d do something like
<a href='<%#GetFileUrl("NameOfTheDataField")#>'>File</a>