cancel
Showing results for 
Search instead for 
Did you mean: 

Changing content type

mcruz
Champ in-the-making
Champ in-the-making
Hi,

I am working with Alfresco 2.1 and I would like to know if it is possible to change the content type of contents that have already been created.

We have documents with content type "content" and we would like to change them to another new content type which extends the "content" attributes. We don't want to add these attributes to the "content" because they have no meaning for the other documents we have in the repository

Thank you very much.
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Yes you can 'downcast' a content object to a sub-type of cm:content using the 'specialise' action.

However, you will need to expose your custom type in the rule/action wizards in order to do this. (see the client config doc's for details)

Cheers,
Roy

sakthi
Champ in-the-making
Champ in-the-making
Is it possible to upcast a document. For example from custom type back to cm:content. The run action wizard is showing only the custom types. How can I bring the "content" option in the dropdown in the run action wizard. I added the following code in the web-client-config.xml
   <config evaluator="string-compare" condition="Action Wizards">
   <!– The list of content and/or folder types shown in the specialisetype action –>
       <specialise-types>
          <type name="my:sop"/>
         <type name="cm:content"/>
       </specialise-types>
   </config>
but it did not work. any suggestions?