AnsweredAssumed Answered

Change cm:folder to custom folder type

Question asked by mplebani on Oct 28, 2011
Latest reply on Nov 3, 2011 by mplebani
Hi,
In my content model I specialize the cm:folder with two different types: mp:customFolderA and mp:customFolderB.

In the site folder I created a mp:customFolderA called mplebani using JCR API. Using behaviors I'm able to intercept any changes in this mplebani folder, like subfolder creation.

Any time in the mplebani folder a new folder is create using WebDAV access I want to change the primary type of this folder from cm:folder to mp:customFolderB.

Is there a way using JCR or Alfresco Service to change the primary type of a folder?

– Marco

Outcomes