[ALF-11982] Enable category manager to handle custom classifications / custom category types Created: 10-Dec-11  Updated: 02-Jul-15

Status: Open
Project: Alfresco
Component/s: Admin Console (Share)
Affects Version/s: 4.0.b Community
Fix Version/s: Triage
Security Level: external (External user)

Type: Contribution Priority: Major
Reporter: Axel Faust Assignee: Kevin Roast
Resolution: Unresolved Votes: 9
Labels: CommunityPainPoints
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File customCategoryEnhancements.patch     Text File customCategoryEnhancementSample.patch    
Issue Links:
is related to by ALF-18681 FormService doesn't allow to specify ... New


The Share category manager currently only handles standard categories from the cm:generalclassifiable classification. This is very limiting for applications that require custom classifications or additional metadata associated with categories. The attached patch file enhances the category manager (and some related components of Share / the repository) to allow management and usage of custom classifications and custom category types.

Changes made by the patch:

  • allow forms to supply a destination child-association when creating nodes (implementing a TODO in the current code base)
  • add a web script to the repository tier that lists the available classification aspects
  • enhance the Share category manager to handle multiple classification aspects
  • enhance the Share category manager to use forms for category management (creation / modification)
  • provide a configuration option to hide certain classification aspects in the category manager
  • provide a configuration option to specify wether a form should be used to modify the categories of a certain classification and what type of category should be created
  • enhance the picker children web script on the repository tier to specify wether an element "is a category"
  • patch the object-finder component in the web framework, replacing a hard type check with an evaluation of the new "is a category" property to handle category subtypes

The second patch file provides a sample model, bootstrap view, Share configuration and Spring Surf extension to work with the enhancements made by this contribution.

Please note: The last two items in the change list have previously been submitted to Alfresco Support as ACT #15024-37043 in the context of a customer project unrelated to this contribution.

Comment by Axel Faust [ 10-Dec-11 ]

Attached patch files for contribution and sample model/configuration.

Comment by Axel Faust [ 10-Dec-11 ]

A more detailed account can be found at http://axel-faust.de/?p=30&lang=en

Generated at Thu Jul 30 15:06:42 BST 2015 using JIRA 6.4.7#64022-sha1:4cb296803939f4a073aa3b93ab6313ffa6c86a2e.