ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Docs
  • Properties specific to gglDocument variables
  • Functions that use gglDocument variables
  • Functions (prefix syntax) that handle gglDocument variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The gglDocument type is used to handle a Google document. This document was created by GglUploadDocument. The characteristics of this document are returned by several WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-03"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
ELSE
// Retrieve the array of documents
arrDocs is array of gglDocument = GglListDocument(Cnt)
// Browse the documents
Doc is gglDocument
FOR EACH Doc OF arrDocs
Trace(Doc.Title)
END
END
Remarks

Properties specific to gglDocument variables

The following properties can be used to handle a Google document (these properties are available in read-only):
Property nameType usedEffect
IdentifierCharacter stringIdentifier of document.
MIMETypeCharacter stringMIME type of the document.
Remark: For more details about the authorized MIME types, see
StarredBoolean
  • True if the document is marked as "Starred",
  • False otherwise.
TitleCharacter stringTitle of document.
UpdateDateDateTimeDate of the last document update.
Remark: The date is a UTC date (in universal time).

Functions that use gglDocument variables

GglDeleteDeletes data from the Google server.
GglGetDocumentDownloads a document from the Google Docs service.
GglListDocumentRetrieves the list of documents available on the Google server for the current user.

Functions (prefix syntax) that handle gglDocument variables

<gglConnection variable>.DeleteDeletes data from the Google server.
<gglConnection variable>.GetDocumentDownloads a document from the Google Docs service.
<gglConnection variable>.ListDocumentRetrieves the list of documents available on the Google server for the current user.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help