ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Properties specific to Calendar variables
  • Functions that use Calendar 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 Calendar type is used to handle a calendar (or organizer) associated with a user account or found on the device. You have the ability to list the appointments of the calendar via AppointmentListCalendar.
The characteristics of this calendar can be read 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
// Fills a list with the calendars available on the device
arrCalendar is array of Calendar = AppointmentListCalendar()
FOR EACH Calendar OF arrCalendar
ListAdd(LIST_List1, Calendar.Name)
END
Remarks

Properties specific to Calendar variables

The following properties can be used to handle a Calendar:
Property nameType usedEffect
AccountNameCharacter stringName of the user account with which the calendar is associated.
Android This property can correspond to an email address for a Google account ("lastname.firstname@gmail.com" for example).
iPhone/iPad This property can correspond to "Gmail" for a Google account.
If this property corresponds to an empty string (""), the calendar is associated with no account: it is stored locally on the device.
AccountTypeCharacter stringType of account.
Android This property can correspond to "com.google" for a Google account.
iPhone/iPad This property can correspond to "CalDAV", name of the protocol used to access the online calendars (Calendaring Extensions to WebDAV).
If this property corresponds to an empty string (""), the calendar is associated with no account and it is stored locally on the device.
ColorIntegerColor associated with the calendar. This color is the result of the following formula:
Color = 65536 * Blue Component + 256 * Green Component + Red Component.
ID8-byte integerIdentifier associated with the calendar. This property will be automatically filled when reading the calendar. We do not advise you to store this identifier beyond the lifetime of the application because this identifier can be modified when synchronizing the calendar.
NameCharacter stringName of the calendar.

Caution: The properties of Calendar type are read-only and they are automatically filled when the calendars are read by AppointmentListCalendar.
Remark: These properties can be used with one of the following syntaxes:
  • <Variable name>.<Property name>
  • <Variable name>.<Property name>

Functions that use Calendar variables

AppointmentAddAdds an appointment:
  • in a Lotus Notes or Outlook calendar.
  • in a calendar on a mobile device (Android or iOS).
AppointmentListLists the appointments found on the mobile device (Android/iOS) and corresponding to the specified criteria.
AppointmentListCalendarLists the calendars available on the mobile device (Android/iOS).
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help