fereblogging.blogg.se

Google drive folder id
Google drive folder id






getEmail ( ) // force oAuth token to generateĭriveApp.

google drive folder id

setTitle ( 'Google Drive Folder ID Finder' ) addMetaTag ( 'viewport', 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0' ) createHtmlOutputFromFile ( 'index.html' ) * You're done! The long "Web app" URL contains the Folder ID Finder. Change "Execute as" to "User accessing the web app" and "Who has access" to "Anyone with a Google Account". In the "Select Type" ⚙️ gear, choose "Web App". Click the ➕ next to "Files" in the sidebar, add an "HTML" file, name it "index" (.html is added by Apps Script), and paste the `index.html` code below over the starter code in that file. Copy/paste this code over the default "myFunction" starter code that's currently there Rename the project at the top from "Untitled project" to something else (ex.

google drive folder id

Go to and log in as the user that you want to host this published web app. * This script creates a simple web app where the visitor can select a Google Drive folder with the Google Picker and it will tell you the ID of the folder, since that's now hard to find in the Google Drive web app or Folder URL.








Google drive folder id