Services Plugins FAQs

Displaying a file from Google Drive - using the Google Drive plugin

Hey all, I am wondering if anyone knows how I can link to, embed or display files from google drive from my app.

Basically the user of the app will select which orders they want to display from google drive on their dashboard.

From there dashboard they should be able to click any files in those folders to open them.

Just wondering how this should be done, I’ve tried html elements but I am running into access problems.

It would be poor user experience if my users had to share every file for it to be available to view from within the bubble app.

Also if someone is an expert I am wondering if I can have different users from the same company able to display google files from the same drive account with only having the master user of the company do the verification

Thanks in advance
Chad

Hi @gday.itschad,

Thanks for reaching out. Could you please specify which Google Drive plugin you are using: Google Drive API or Complete Google Drive (Service Acc.) of ours, or any other plugin?

Best,
Alex

Hey Alex I’m using the google drive one pictured below

Hi @gday.itschad,

Thanks for feedback. In this case, you can simply check our demo app and preview its editor, to see how plugin works perhaps replicate the setups if you will. Our plugin offers you to get files and other information as well, but the described functionality above like opening maps etc. would be pure Bubble development you need to do, to actually meet your needs.

Docs how to setup: https://docs.zeroqode.com/plugins/google-drive-plugin

However, please note that this plugin lets users access their own accounts only. If you want to have like a company account and multiple users access the files from it, you should use the Service Account one instead.

Hope it helps.

Thanks Alex… I’m getting a 500 server error when clicking on documentation for the service account plugin

Also can I get clarification on why you think the service plugin would be better. Is it to do with multiple bubble logins being able to access the single drive.
Just to refresh my use case I have multiple companies on my platform which have multiple bubble users for each company. Each company would like to allow access for their employees to access the company google drive…
Preferably authentication would be done by a master user for each company with the other employees just having the drive file accessible without any other interaction

Hi @gday.itschad,

Could you please give it a try again - https://docs.zeroqode.com/plugins/google-drive-service-acc.-plugin perhaps it was a temporary issue. :pray:

Yes, multiple Bubble logins would be able to access the single drive files, because with regular plugin it is not possible, as it only shows your own Google Drive files after you login/signup with your Google account.

Your use case is a bit more complex, but the idea is - if you want to have multiple users access a single drive account files - it is only possible to accomplish with Service Account. The standard plugin doesn’t allow it.

Hope it helps