How to copy/move files within alfresco repository
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2016 11:13 AM
Hi Guys!
I want to write a webscript which copies or moves files/folders within the repository.
I have found copyService, NodeService and FileFolderService but for me it's not sure which one to take.
It should make a 1:1 copy of the original including the properties…
Can somebody help?
Regards
Kaffi
I want to write a webscript which copies or moves files/folders within the repository.
I have found copyService, NodeService and FileFolderService but for me it's not sure which one to take.
It should make a 1:1 copy of the original including the properties…
Can somebody help?
Regards
Kaffi
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2016 01:21 AM
Hi Kaffi,
CopyService should do the job for you. Check the following sample code;
http://docs.alfresco.com/5.1/references/dev-services-copy.html
CopyService should do the job for you. Check the following sample code;
http://docs.alfresco.com/5.1/references/dev-services-copy.html
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2016 05:23 AM
Thanks that worked!
