Can Google Apps Script read the contents of a public folder? -
if there's folder on someone's drive sharing set link can view it, can google apps script see contents? is:
docslist.getfolderbyid(id).getfiles()
will show me contents of folder on (or user's) drive. there similar method viewing files in publicly shared folder? thanks.
if "public folder" mean "a folder in user's google drive has been shared public", answer yes.
nothing special - use id of folder own. there methods not able use, example document.getowner()
complain permissions.
Comments
Post a Comment