Get a google drive file ID for an image after it is taken through the app?

Sorry, I don’t know how to get an attached GAS from a sample app.

Should be easy enough to write the script though:

  1. onChange()
  2. if file-id column is blank
  3. get files from GDrive folder
  4. iterate through files, does filename match?
  5. grab matched file’s id and insert into file-id column
4 Likes