English 中文(简体)
在 Google 应用程序脚本中克隆收藏
原标题:Cloning a Collection in google app script

我试图允许某些用户克隆一个收藏, 全部都是子收藏, 和新父收藏的文件夹 。

我想总体设计已经下降,但是在阅读了许多超时问题之后,我想看看这里是否有人有任何有问题要解决。我将允许他们从一个列表框中选择一个集合,并给他们一个机会来命名新的父集及其应该属于的文件夹。

然而,我所关心的是,通过父 & gt; 集合1 & gt; 集合2 & gt; 集合3. 等循环。

我正在考虑将文件夹装入数组, 然后创建新文件夹, 然后从源到新文件夹复制文件。 听起来合理吗? 有人已经发明了这个方向盘吗?

问题回答

我不认为这里有任何偏差。 但取决于您复制的收藏和文件数量, 您可能会碰到一些 < a href=" https://docs.google.com/ macros/ dashboard" rel = "nofollow" > 各种配额 < / a > 我们也有限制 。

如果这适合你的用法,我不同意,但你可能需要将工作量分成小块,并进行多次运行,设置您的脚本,以后(取决于配额,次日)使用





相关问题
How to use year counter google app script?

I need an urgent help i have data as follows in a google sheet i need to add a year counter to the column d as follows using google apps script

What is the daily email limit in Google Apps Script?

Can someone tell me if there is a webpage that lists the official Google limit (Quotas) on emails sent from a Google Apps Script? In testing my little script I got an error: Service invoked too many ...

Reference Error for property of Javascript Object

I have built an object in Javascript on the Google Apps Script engine and every time I run my script I get a reference error saying uName is not defined. Here is the relivant code: function DataSet()...

Run Google Apps Script on Google-Spreadsheet event?

If I create a Google apps script, can I hook it up to Google spreadsheet to run based on an event, or must I manually invoke it? I don t know if Google Sheets supports any events. For example: a ...

Google gadget/spreadsheet: Grab spreadsheet key for gadget

So I m working on a google gadget(really only gadgetizing so I can get a datastore for this) that I want to be embeddable in a google spreadsheet (after this point, I m going to skip the word google - ...