cancel
Showing results for 
Search instead for 
Did you mean: 

Moving content from one web project to another

bdoyal
Champ in-the-making
Champ in-the-making
I am writing a custom action to move content (namely directories and all the content beneath them) from one web project to another web project within the same wcm repository.  I am wondering what would be the best strategy to do so. 

Looking at through the alfresco source I found org.alfresco.service.cmr.avm.AVMService which has a copy method you give a source path and destination path.  Has anyone used this, or has anyone done something similar and have any recommendations?
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
You may wish to explore using our Javascript API for writing your custom action.  You can use the standard node.copy(destination) method in javascript.  Should be much simpler to implement.

Kevin