PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to manage the Google documents?
  • Note
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Management of Google documents
Overview
Google Docs and Google Spreadsheet are the online word processing and the online spreadsheet proposed by Google.
WINDEV and WEBDEV allow you to manage these documents via several WLanguage functions. You can:
  • Upload documents on the Google server.
  • Delete documents.
  • List the documents and perform a search in the documents.
  • Versions 17 and later
    Retrieve documents.
    New in version 17
    Retrieve documents.
    Retrieve documents.
Warning: Before using a feature linked to Google services, we strongly recommend that you check the license for using this service. Some restrictions may apply. The content of licenses may change over time.
PC SOFT is in no case responsible for the way the native access functions are used. Make sure that you comply with the license of service provider.
Warning
From version 20 (51), the management of Google documents evolves.
Indeed, the management of Google documents in WLanguage was using the "Google Documents List" service. The "Google Documents List" service will no longer be accessible from April 2015.

From now on, only the "Drive" API can be used. Using this API in your applications requires:
  • the declaration of the application in the Google console,
  • the activation of "Drive" API in the Google console.
See the help about gglConnect ("Prerequisite for the OAuth 2.0 authentication" paragraph) for more details.
The WLanguage functions and types used to manage the Google documents evolve in order to manage the "Drive" API from version 200051.
Note: If you are using an earlier version of WINDEV, WEBDEV or WINDEV Mobile, the functions for managing the Google documents can no longer be used from April 2015.
How to manage the Google documents?
To manage the Google documents found on a Google server:
  1. Create a Google account and a project. Configure the project in the Google console in order to use the service for managing documents. See the help about gglConnect ("Prerequisite for the OAuth 2.0 authentication" paragraph) for more details.
  2. In the code of your application, create a gglConnection variable. This variable contains the characteristics of the connection to your Google account.
  3. To manage the documents found on the Google server, use one of the following functions:
    GglUploadDocumentSends a document to the Google server.
    GglListDocumentRetrieves the list of documents available on the Google server for the current user.
    Versions 17 and later
    GglGetDocument
    New in version 17
    GglGetDocument
    GglGetDocument
    Downloads a document from the Google Docs service.
    GglDeleteDeletes a Google document from the server.
WINDEVWEBDEV - Server codeReports and QueriesWindowsWindows MobileAjaxUser code (UMC)

Note

If you are using a proxy to access Internet, the proxy must be configured (Proxy) to use the Google functions.
Related Examples:
Accessing the Google documents Unit examples (WINDEV): Accessing the Google documents
[ + ] Using the gglXxx functions to access the documents defined in your Google account.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment