Skip to content
Advertisement

Google picker upload

I am trying to make a picker of Google drive that let me to upload new local files to Google Drive. The picker is working and it is showing me my Google Drive files, but there’s only the select button and there’s not a “upload” button. I added the view google.picker.DocsUploadView() but still not a button.

There it is my createPicker function:

JavaScript

Any thoughts?

Advertisement

Answer

You’ll be using DocsUploadView.

Use this in your createPicker code:

JavaScript

It will look like this. enter image description here

Advertisement