This is the Google Drive Connector for Convertigo. use this library to connect to your no code apps to Google Drive
For more technical informations : documentation
-
In your Convertigo Studio click on
to import a project in the treeview
-
In the import wizard
paste the text below into the
Project remote URL
field:Usage Click the copy button at the end of the line To contribute lib_GoogleDrive=https://github.com/convertigo/c8oprj-lib-googledrive.git:branch=master
To simply use lib_GoogleDrive=https://github.com/convertigo/c8oprj-lib-googledrive/archive/master.zip
-
Click the
Finish
button. This will automatically import the lib_GoogleDrive project
Checks is a valid access token is held by the current users' session for Google
This as to be called by client apps to decide whenever or not they have to display an OAuth login screen
Remove any RefreshToken and GoogletAcessTokne form the session and user profile
List files in the current logged user google drive
variables
name | comment |
---|---|
pageSize | The Max number of items to return (Default 100) |
q | The search query string. See https://developers.google.com/drive/api/guides/search-files for examples |
Upload files in a given folder for the currently logged user's Google Drive
variables
name | comment |
---|---|
files | The lits of files to upload |
folderID | The folder ID where to upload file. Root folder if not provided |
List files from a Google Drive. You can filter files to list using the Query variable
variables
name | comment |
---|---|
forms_config | Returns the file list of a drive with a given configuration |
forms_PageSize | The maximum number of items to return |
forms_Query | The search query to perform. An empty string wll return all files. See this link for search query syntax : Query |
Gets the google oAuth refresh token previsously stored in user profile. Used to get the rToken to be stored in the Forms data source configuration
Perform the OAuth flow for Google
If the token is valid, it will be stored in the user's session to be used when calling Microsoft APIs.
Also if the token is valid, setAuthenticatedUser step is executed to flag this session as authenticated.
variables
name | comment |
---|---|
client_id | |
code | |
keySecret | |
redirect_uri |
This only to have the test application logged in to be able to add Attributes to user accounts
The No Code forms configuration page
This is a Test page to launch before calling BackEnd seqeunces. This will login using the DEMO user profile