cancel
Showing results for 
Search instead for 
Did you mean: 

Columns displayed in detail views for different spaces

leroyjul
Champ in-the-making
Champ in-the-making
Hi all,

My goal is to customize the columns displayed in the details view (list of contents) based on the space.

For example, for one Space, dedicated to Quality Documents Managment, I have to display Document reference, version, modification date, etc… For another space, I have to list documents related to products bought, so the usefull columns are the supplier, the type of product, etc…

I've modified the model and I'm able to customize metadata for these different spaces. But now I have to customize the views.

I've tried the Custom View functionnality, but the custom view is displayed on the top of the list of sub-spaces and the list of items (very usefull to display the last items published, but not to display the whole list of items). I can not activate the Custom View (and only the custom view) per default for a specific space.

I've also tried to edit the browse.jsp : no problem, I can customize the columns and display custom data, but this new layout is applicable to all spaces.

I there a solution to do that ? Do I have to hard-code in the browse.jsp the columns to hide / display based on the name of the space ?

Thanks for your help.
1 REPLY 1

t_broyer
Champ in-the-making
Champ in-the-making
http://wiki.alfresco.com/wiki/Customising_An_Alfresco_JSP
http://wiki.alfresco.com/wiki/Dispatch_Mechanism

That's what's used for the forum spaces, so you'll find an real-use example in Alfresco itself (and used as the example for the Dispatch_Mechanism wiki page linked to above).