0

I'm looking to allow certain users to clone a collection, and all of it's child collections and folders to a new 'parent' collection.

I think I've got the overall design down, but after reading many timeout issues, I wanted to see if anyone here has any 'gotcha' things to stick clear of. I'm going to allow them to select a single collection from a Listbox and give them the chance to name the new 'parent' Collection and the folder it should belong to.

However, where I'm concerned is that iterating through parent>Collection1>Collection2>Collection3.. etc.

I'm thinking of feeding the folders into arrays then create the new folder and then copy docs from source to the new folder. Sound reasonable? Anyone already invent this wheel?

4

1 回答 1

0

我认为这里没有任何问题。但是,根据您要复制的集合和文件的数量,您可能会达到我们也限制的一些各种配额。

如果这适合您的用例,我不知道,但您可能必须将您的工作负载分成小块并在多次运行中执行,将您的脚本设置为稍后继续(取决于配额,第二天)使用脚本服务API。

于 2012-05-22T02:21:24.020 回答