You are here:
Access the Mobile Device Calendar
Create a calendar import feature to manage events from one location, use preferred calendar apps, and save time from manually maintaining events or meetings in separate calendars.
You can develop and implement a Lightning web component with a calendar import feature using the CalendarService API. A calendar import feature requires the use of the mobile device calendar. The user must grant your app access to the calendar.
- Import CalendarService into your component definition.
- Test to make sure CalendarService is available before you call calendar-related functions.
- Use the
getCalendar()
For complete details, see Use Mobile Device Features in Mobile Apps in the Lightning Web Components Developer Guide.

