ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion
Cnx is gglConnection
Cnx.Email = "balthazar@gmail.com"
Cnx.Password = "azerty"
Cnx.ApplicationName = "MonAppli-03"
IF GglConnect(Cnx) = False THEN
	Error(ErrorInfo())
ELSE
	// Récupération du tableau des documents
	tabDocs is array of gglDocument = GglListeDocument(Cnx)
	// Parcours des documents
	Doc is gglDocument
	FOR EACH Doc OF tabDocs
		Trace(Doc.Title)
	END
END
Properties

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.
Note: For more details on allowed MIME types, see
StarredBoolean
  • True if the document is marked as "Starred",
  • False otherwise.
TitleCharacter stringDocument title.
UpdateDateDateTimeDate of the last document update.
Note: The date is UTC (Universal Time Coordinated).
Remarks

Functions that use gglDocument variables

GglDeleteDeletes data from the Google server.
GglGetDocumentDownloads a document from Google Docs.
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 Google Docs.
<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: 09/19/2024

Send a report | Local help