cancel
Showing results for 
Search instead for 
Did you mean: 

Deriving from cm:folder.

louisrene
Champ in-the-making
Champ in-the-making
Hi, In my model I have cm:folder as my base type for most of my custom type entities.

I did this because my application will manage 'collection' of content items, so i need to be able to add content item to customized types.

However, when I did modify the web-client I get the following errors when i try to create a new content:

User:admin WARN  [bean.content.BaseContentWizard] Failed to add 'mycorp:LocalVODContent' to the list of content types as the type is not a subtype of cm:content.

Now i have no way of creating my specialized folder type unless i create a 'space' first then use specialize type action to make it a LocalVODContent.

So I have 2 question:

1- I it a good idea to extend cm:folder or i am going into a mine field ?
2- Is it possible to modify the web client so it have a 'create LocalVODContent' in the user interface ?

I am using version 3.0 lab.

Thanks.
1 REPLY 1

raphaelc
Champ in-the-making
Champ in-the-making
cm:folder is a common type, there is no problem in extending it. However, you should try to add your custom type to "Space Wizards" instead of adding it to "Content Wizards".
You will then be able to create a LocalVODContent using the "Advanced Space Wizard" command in the Web Client.

You can look here for more info :
http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata#Creating_Custom_Space_Types_in_the_Web_Clie...
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.