根文件夹网址

时间:2012-12-10 06:00:54

标签: google-apps-script

DocsList.getRootFolder().getUrl()生成的网址会为我带来这样的内容:

Sorry, the page (or document) you have requested does not exist.

Make sure that you have the correct URL and that the owner of the document hasn't deleted it.

是bug吗?

1 个答案:

答案 0 :(得分:1)

在云端硬盘用户界面中,返回有效网址的文件夹似乎也具有“共享...”的向下钻取选项,该选项会生成可由具有权限的用户访问的网址。由于根文件夹没有这样的向下钻取选项,我可以理解为什么URL Apps脚本提供了这样的消息的引导。也许这种行为应该更好地记录下来 - 随意在Issue Tracker上打开一个问题,以便在文档中解决这个问题。