AnsweredAssumed Answered

Cross Repository Copy

Question asked by naveenkumar on Aug 10, 2007
Latest reply on Sep 12, 2007 by naveenkumar
hi all,
  I need to copy the content from avm store to non web project folders.I found some information: http://wiki.alfresco.com/wiki/JavaScript_API#Cross_Repository_Copy

Cross Repository Copy 
A root level object 'crossRepoCopy' is provided to enable copy of nodes between document management spaces (ADM) and WCM spaces (AVM).

ScriptNode copy(ScriptNode source, ScriptNode destination, String name)
Copy a source node to the specified destination folder. The source or destination node can be in any repository store such as an AVM Store or the SpaceStore. When copying between stores of different types, the aspects and properties of the node will remain intact but the node type may be downgraded and all associations will be lost.

ScriptNode copy(ScriptNode source, ScriptNode destination, String name)

source means avm store path: no idea about the path?? any one tell me how to get the avm path??
destination: app:company_home/cm:myfolder
name means??

Thanks
Naveen

Outcomes