Hello everyone.
Could you tell me about the questions below?
I currently run a website where external users can download files from specific My Drive.
This website uses Google AppScript.
The following "migration of existing multiple-location Drive files to shortcuts and other improvements for shortcuts" update has been announced, will it affect my website?
https://workspaceupdates.googleblog.com/2021/12/timeline-update-for-migration-of-multi-location-driv...
If so, what is the impact?
I would appreciate any help.
@AyakaMatsuo no one can comment on the impact until we can see the site and script to know how it will be impacted.
Thank you for providing an answer to my question.
The user can access my site, select the file displayed there (google form, Excel file ....) and copy the selected file to the user's My Drive.
The script for copying a user-selected file to My Drive is as follows.
โ
ใ var dowmloadFile = DriveApp.getFileById("selected file id");
var dowmloadFile_name = dowmloadFile.getName();
var dowmloadFile_id = dowmloadFile.getId();
var outputFolder = DriveApp.getFolderById(download_folder_id);
var dowmloadFile_name =dowmloadFile.getName();
dowmloadFile.makeCopy(dowmloadFile_name, outputFolder); ใ
The following "migration of existing multiple-location Drive files to shortcuts and other improvements for shortcuts" update will it affect my website?
https://workspaceupdates.googleblog.com/2021/12/timeline-update-for-migration-of-multi-location-driv...
If so, How does this affect my site?
Best Regards.
@AyakaMatsuo you're getting the file by ID so it doesn't matter what the parent folder is and won't be affected by the end of multiple parents. You may need to read the announcement to understand what's actually happening as I don't know why you would think this would affect your script.
Dear StephenHind,
Thank you very much for letting us know.
I will use that as reference from now on.