문제

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

도움이 되었습니까?

해결책

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>

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top