|
|
|
|
|
- Properties specific to gglAttachment variables
gglAttachment (Variable type) In french: gglPièceJointe
The gglAttachment type is used to define all the advanced characteristics of a file attached to a calendar event. The calendar is described via the gglCalendar type. This calendar is used by the Google Calendar service. You can define and change the characteristics of this attachment using different WLanguage properties. This type of variable is handled via gglEvent variables. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Cnx is gglConnection
Cnx.Email = "balthazar@gmail.com"
Cnx.Password = "azerty"
Cnx.ApplicationName = "MonAppli-01"
IF GglConnect(Cnx) = False THEN
Error(ErrorInfo())
END
...
tabAgendas is array of gglCalendar
tabAgendas = GglListCalendar(Cnx)
GglFillCalendar(Cnx, tabAgendas[1])
Evt is gglEvent
FOR EACH Evt OF tabAgendas[1]
Trace(Evt.Title)
Trace(Evt.Color)
Trace(Evt.Notification.Default)
Trace(Evt.Notification.Override.Count)
Trace(Evt.Visibility)
Trace(Evt.Disponibilté)
Trace(Evt.Attachment.Count)
FOR EACH UneNotif OF Evt.Notification.Override
Trace(UneNotif.Méthode)
Trace(UneNotif.NbMinute)
END
FOR EACH UnFichier OF Evt.Attachment
Trace(UnFichier.IDFichier)
Trace(UnFichier.Titre)
Trace(UnFichier.URLFichier)
Trace(UnFichier.URLIcone)
Trace(UnFichier.TypeMIME)
END
END
Properties Properties specific to gglAttachment variables The following properties can be used to handle a file attached to an event: | | | Property name | Type used | Effect |
---|
FileID | Character string | Identifier of the attached file. This property is read-only. | FileURL | Character string | URL of the attached file. | IconURL | Character string | URL of the icon associated with the attachment This property is read-only. | MIMEType | Character string | MIME type of the attachment. | Title | Character string | Title of the attachment. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|