Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Compatibility and Requirements
CalendarService is available in Lightning apps distributed using:
- Mobile Publisher for Experience Cloud
CalendarService is fully functional when used in a Lightning app run from a compatible Salesforce mobile app on a compatible iOS or Android mobile device. See Requirements for Mobile Publisher for Experience Cloud or the requirements page for your target mobile app for specific device and operating system requirements.
CalendarService is not fully functional when running on other devices, such as a desktop, or when running in a web browser, even on a mobile device. It requires one of the mobile apps listed above. The CalendarService API is accessible in Lightning Experience on all devices, so your code won’t fail due to missing functions. However, when your app runs in a browser–desktop or mobile–it can use only CalendarService constants and utility functions. Attempting any calendar-related operation will fail.