|
|
|
|
|
GglListDocument (Function) In french: GglListeDocument Retrieves the list of documents available on the Google server for the current user. // Connection Cnt is gglConnection ... IF GglConnect(Cnt) = False THEN Error(ErrorInfo()) END ... arrDocuments is array of 0 gglDocument dynamic // List the documents containing the "Test" text arrDocuments = GglListDocument(Cnt, "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> = GglListDocument(<Google connection> , <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 the gglConnection variable to be used. This connection was validated by GglConnect. <Search to perform>: Character string 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:
|
Unit examples (WINDEV): Accessing the Google documents
[ + ] Using the gglXxx functions to access the documents defined in your Google account.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|