New releasecore v2.5.3interface v1.7.0
Salesforce Integration

Install forceCalendar on Salesforce

One-click install via unlocked package. Includes LWC components, Apex controller, and the bundled static resource. No code required.

Unlocked package04tg50000003qOfAAI

Always test in a sandbox before deploying to production.

forceCalendar

LWC

Production-ready LWC component that connects to Salesforce Events through Apex. Supports month, week, and day views with create, update, and delete.

forceCalendarDemo

LWC

Standalone demo component with sample events. No Apex required. Use this to verify the install worked before wiring up real data.

ForceCalendarController

Apex

Apex controller for querying and managing Salesforce Event records. Includes test class with coverage.

Static Resource

Bundle

Bundled @forcecalendar/core and @forcecalendar/interface as a single IIFE file. Zero external dependencies.

Install

Install in a sandbox first

Always test in a sandbox before deploying to production. This is an unlocked package, so you can inspect and modify every component after install.

  1. 1

    Install to your sandbox

    Click the button below to open the Salesforce package installer in your sandbox org. Log in with your sandbox credentials. Select “Install for Admins Only” or “Install for All Users” depending on who should access the calendar.

    Install on Sandbox
  2. 2

    Add the calendar to a Lightning page

    After install, the components are available in Lightning App Builder:

    1. Go to Setup → Lightning App Builder
    2. Create a new App Page or edit an existing one
    3. Search for “ForceCalendar” in the component panel
    4. Drag ForceCalendar Demo onto the page to verify it works
    5. Save, activate, and open the page

    The demo component loads sample events automatically. You should see a working calendar with month, week, and day views immediately.

  3. 3

    Test thoroughly before production

    Before deploying to production, verify in your sandbox:

    • All three views (month, week, day) render correctly
    • Event creation, editing, and deletion work with your data
    • Calendar displays correctly for all user profiles that need access
    • Performance is acceptable with your typical event volume
  4. 4

    Deploy to production

    Once you’ve verified everything works in your sandbox, install the same package in production.

    Install on Production
CLI & source

For developers

If you prefer CLI deployment or want to customize the source code.

Install via Salesforce CLI

Or clone and deploy from source

Terminal
git clone https://github.com/forcecalendar/salesforce.git
cd salesforce
npm install
npm run build
cd dist
sf project deploy start --target-org your-sandbox-alias

The build script bundles @forcecalendar/core and @forcecalendar/interface from npm into a single static resource. You can modify the LWC components, Apex controller, or build configuration before deploying.

What the package installs

Package contents
force-app/
  main/default/
    classes/
      ForceCalendarController.cls       # Apex: CRUD for Event records
      ForceCalendarControllerTest.cls   # Test class with coverage
    lwc/
      forceCalendar/                    # Production LWC (Apex-connected)
      forceCalendarDemo/                # Standalone demo (no Apex)
    staticresources/
      forcecalendar.js                  # Bundled core + interface (IIFE)
forceCalendar month view inside Salesforce
Month view with color-coded events
forceCalendar week view inside Salesforce
Week view
forceCalendar day view inside Salesforce
Day view