Google Apps 脚本:从 Google 表单提交创建 Google 共享云端硬盘文件夹
我发现这个< /a> 通过 Google 表单提交在 Google 云端硬盘中创建文件夹的线程。任何人都可以帮助我创建一个文件夹,但在 Google 共享云端硬盘 中而不是通过 Google 表单提交。
谢谢
I found this thread on creating a folder in Google Drive from a Google Form submission. Can any one help me on creating a folder but in Google Shared Drives instead from Google Form submission.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想通过修改以下脚本在共享驱动器中创建新文件夹,
那么以下修改如何?目前阶段,幸运的是,使用了文件夹 ID,您可以通过 访问共享云端硬盘驱动服务。
修改后的脚本:
folderId
是共享驱动器中特定文件夹的文件夹 ID 或共享驱动器的驱动器 ID。使用驱动器 ID 时,会在共享驱动器的根文件夹中创建文件夹。注意:
参考:
If you want to create a new folder in the Shared Drive by modifying the following script,
How about the following modification? In the current stage, fortunately, the folder ID is used, you can access the Shared Drive with Drive service.
Modified script:
folderId
is the folder ID of the specific folder in the Shared Drive or the Drive ID of the Shared Drive. When the Drive ID is used, the folder is created to the root folder of the Shared Drive.Note:
Reference: