PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Possible error cases:
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
<gglConnection variable>.ListDocument (Function)
In french: <Variable gglConnexion>.ListeDocument
Retrieves the list of documents available on the Google server for the current user.
Example
// Connection
Cnt is gglConnection
...
IF Cnt.Connect() =False THEN
Error(ErrorInfo())
END
...
 
// List of all documents
arrDocuments is array of 0 gglDocument dynamic
 
// List the documents containing the "Test" text
arrDocuments = Cnt.ListDocument("fullText contains 'Test'")
 
// Display the title of each listed document
Doc is gglDocument dynamic
FOR EACH Doc OF arrDocuments
 Trace(Doc.Title)
END
Syntax
<Result> = <Google connection>.ListDocument([<Search to perform>])
<Result>: Array of gglDocument variables
Array of gglDocument variables: each array element contains the characteristics of a document found on the Google server.
<Google connection>: gglConnection variable
Name of gglConnection variable to use. This connection was validated by <gglConnection variable>.Connect.
<Search to perform>: Character string (with quotes)
Search formula. See the documentation about the "Drive" API to find out the parameters that can be used: https://developers.google.com/drive/web/search-parameters
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
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.
Component: wd260ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment