Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to copy documents?
#2
(02-09-2012, 04:11 PM)michbukana Wrote: Hi,

I try to make a functions to copy folders and documents, folders copy correctly but I“dont know how to copy a file and add to the new folder copy.

You should use LetoDMS_Folder::addDocument(). It has a parameter for the filename of the document. The file is copied not moved. So, you could as well use the filename of any document already in the DMS.

Uwe
Reply


Messages In This Thread
How to copy documents? - by michbukana - 02-09-2012, 04:11 PM

Forum Jump:


Users browsing this thread: