Site structure
Version 5.x > Site structure > Document Library Organised By Category View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
J B - 1/20/2010 7:47:30 PM
   
Document Library Organised By Category
I’m in the process of building designing a new site… one of the features in this site will be a document library which is sorted and paginated by “document categories”.

I’m currently working on the best approach to achieve this in the Kentico framework. I was thinking of creating a new document type which would include the file and document metadata.

What I’m not sure how to achieve is the maintenance of the “document category” attribute. It is important the end users are able to assign a document to category as well as create new categories if required. Any ideas on how to achieve this???

There will be around 60 categories so I don’t think that a standard dropdown list with hardcoded pairs will be the most appropriate way to maintain the list of categories.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 1/26/2010 8:48:07 AM
   
RE:Document Library Organised By Category
Hello,

You can use User Contribution module to allow users adding documents (uploading files to them) from the live site: http://devnet.kentico.com/docs/devguide/example_publishing_community_news.htm

You would put to your document type Multiple category selector form control and users could choose appropriate category(ies) for the document. Eventually you can develop custom form control for this purpose: http://devnet.kentico.com/docs/devguide/developing_form_controls.htm

Best regards
Ondrej Vasil