Skip to content

This is the Google Drive connector for Convertigo Low Code / No Code platform. Use this library to connect your application to Google Drive. The library can list download and upload files to Google Drive

Notifications You must be signed in to change notification settings

convertigo/c8oprj-lib-googledrive

Repository files navigation

lib_GoogleDrive

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

Installation

  1. In your Convertigo Studio click on to import a project in the treeview

  2. In the import wizard

    paste the text below into the Project remote URL field:

    UsageClick 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
    
  3. Click the Finish button. This will automatically import the lib_GoogleDrive project

Sequences

checkAccessTokenGoogle

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

ClearRefreshToken

Remove any RefreshToken and GoogletAcessTokne form the session and user profile

FileList

List files in the current logged user google drive

variables

namecomment
pageSizeThe Max number of items to return (Default 100)
qThe search query string. See https://developers.google.com/drive/api/guides/search-files for examples

FileUpload

Upload files in a given folder for the currently logged user's Google Drive

variables

namecomment
filesThe lits of files to upload
folderIDThe folder ID where to upload file. Root folder if not provided

formssource_ListFiles

List files from a Google Drive. You can filter files to list using the Query variable

variables

namecomment
forms_configReturns the file list of a drive with a given configuration
forms_PageSizeThe maximum number of items to return
forms_QueryThe search query to perform. An empty string wll return all files. See this link for search query syntax : Query

getRefreshToken

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

loginGoogleWithCode

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

namecomment
client_id
code
keySecret
redirect_uri

TestLogin

This only to have the test application logged in to be able to add Attributes to user accounts

Mobile Library

Pages

Configure

The No Code forms configuration page

TestOnly

This is a Test page to launch before calling BackEnd seqeunces. This will login using the DEMO user profile

About

This is the Google Drive connector for Convertigo Low Code / No Code platform. Use this library to connect your application to Google Drive. The library can list download and upload files to Google Drive

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published