Back to Devexpress

Google Drive Personal File System Provider

aspnet-120633-components-file-management-file-manager-concepts-file-system-providers-google-drive-personal-file-system-provider.md

latest1.9 KB
Original Source

Google Drive Personal File System Provider

  • Oct 22, 2021

The Google Drive file system provider (personal account) (GoogleDrivePersonalFileSystemProvider) allows you to connect ASPxFileManager to Google Drive (using client authorization).

Prerequisites

Register the Google Drive service account that belongs to the user’s account. The service account allows you to use the Google APIs to access the account.

Provider Settings

Set the ASPxFileManager.ProviderType property to FileManagerProviderType.GoogleDrivePersonal to allow ASPxFileManager to manage files and folders in Google Drive.

The GoogleDrivePersonalFileSystemProvider class allows you to access the file and folder hierarchy, and manipulate these files in the file manager.

Do the following to connect ASPxFileManager to Google Drive (personal account):

ASPxFileManager allows you to handle every request to the Google Drive personal account (the ASPxFileManager.CloudProviderRequest event).