How to store files in the same place Glide does

Hi Gliders,

Up until now I’ve been using Google Drive as storage for files but this is not the best from what the users experience.

  • Users have trouble accessing files
  • Permissions can get tricky
  • Often files previews don’t work in the app
  • Opening a file link opens up the Google Drive app rather than a new window to access the file

My question is how can I upload files to the same storage as my Glide apps?

Use a file or image picker in the app, or directly upload images to an image column in the data editor.

https://www.glideapps.com/docs/essentials/security-and-user-data/files

1 Like

Best to use Glide storage… if you use GDrive for images try formatting the link like…

https://drive.google.com/uc?id=Id

1 Like

Sorry I left a few details out when explaining.

I use Glide storage when uploading files directly from the app. So that’s not a problem.

Problem is when I use external services like e-signatures. These external services generate pdf files of signed documents but the only way to store them is to upload them to an external storage and add the url link back in the app via the API. This way brings the problems mentioned in my first post.

Is there a way to upload these files to the same storage as Glide natively does?

Not that I’m aware of. For PDF’s in GDrive you could try this format…

https://drive.google.com/file/d/YOURFILEID/view?usp=share_link

No, but if the files are not too big then one alternative is to base64 encode them, and then push them through the API into a Text column. You can then use something like data:application/pdf;base64,{data} (for a PDF file, for example) in a Template column, and use that in a webview component.

I’ve been using this method for a few months now, and it works quite well.

6 Likes