Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Combining "CategoryMenu" and "DocumentLibrary" web-parts View modes: 
User avatar
Member
Member
peter.litsegard-foi - 2/27/2013 6:28:43 AM
   
Combining "CategoryMenu" and "DocumentLibrary" web-parts
Hi!

I think I shold start with telling you that I'm a complete newbie to Kentico so...

Nevertheless here's my question:

I have v7 of Kentico installed and have started developing a new Intranet Portal using the sample "Intranet Portal" as a starting point. I'm especially focusing on the "Workgroup" structure and the "Documents" subsection specifically. The "Documents" section relies on the "Document Library" module to list files that have been uploaded. Now - as the document liberary, currently, doesn't support a folder structure I thought I'd use categories instead and the "Category Menu" module specifically. How am I able to filter the documents listed in the document library based on the clicked category in the category menu?

I really hope a solution like this is possible as the fact that the document library doesn't support folders is a real problem to me...

Furthermore - I'd love to be able to filter a search result in a similar way...

Many thanks in advance
/Peter

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/27/2013 12:05:39 PM
   
RE:Combining "CategoryMenu" and "DocumentLibrary" web-parts
Hello,

It would be easier to use repeater web part and set the WHERE condition to filter the documents by category. Or, another option is to modify the document library control that is used by the web part and add custom logic to filter out the documents based on their category.

For the search filter, here you can see how to use the syntax for a search filter.

Best regards,
Juraj Ondrus