How to move a Google Doc file from a folder into another

Is it possibile to move a GoogleDoc file from a folder into another within AppSheet ?

0 3 66
3 REPLIES 3

You can through an Apps Script task. Use the methods of the File and DriveApp classes.

 

Any hints on how to proceed ? I'm totally new with Apps Script task ...

Apps Script is a simple scripting environment that let's you control and automate Google Workspace products, like for examples sending emails, create and modify Google Sheets and manipulating files and folders in Drive. It can also be used to create simple web applications.

Apps Script is based on javascript and it adds Classes and methods relevant to Workspace products, thus some javascript knowledge is needed; not much but some. 

If you understand javascript, you can easily start by the reading Apps Script reference documents here: Reference overview | Apps Script | Google for Developers. Otherwise, it is a good opportunity to start learning javascript and acquire a very useful skill. 

Through an Apps Script task, AppSheet allows you to call and pass arguments to Apps Script function and process return arguments from the executed function. 

Tell me if you need any help! 

Top Labels in this Space