Posts

Showing posts with the label Custom FormControl.

Kentico 8.1 - Custom Upload Form Control [Solved to support custom table to store image/binary stream data]

Kentico is a powerful CMS engine that allow you to developed portal very fast. But when you have a really big data such as (10,000 above), you may need to think a different way to store the data(Not put all document as a Page Menu Item). I have heard kentico have test their product for 100K document. But from my experience using shared server, it is cause a lot of painful if you want to expand the node in your page module, and even very slow to load the data.(That is my situation). So after all, I have decided to developed a " Custom Upload FormControl " to make Custom table support for upload files/media. This implementation is quite tricky because the custom formcontrol just store link to custom table field and it will store the image into media library folder. Look at the flow below : User/admin upload image using custom formcontrol Custom formcontrol check folder in media library, if not exist, create media library folder.(Each user will have their own folder so in future