Google drive folder

rfavrelle 5 years ago updated by Vlad R 4 years ago 2

From what I see, Google drive editor plugin saves a copy of the edited file at the root of your drive account. Would it be possible to configure the plugin so that such copy is instead e.g. to /filerun_wip/ ?

Thansk a lot!

Under review

No easy configuration, but the code can be customized. The method "sendFile" inside "customizables/plugins/google/app.php" can be customized to add something like this:

$fileOpts['parents'] => ['0BzaRxkCDivjIM1pUYU1SLWVxOGM'];  // <-- Id of parent folder
$file = new Google_Service_Drive_DriveFile($fileOpts);  // <-- Existing line

More details here: https://developers.google.com/drive/api/v3/folder