Full Calendar Js in Lightning Web Component

Lightning Web Components, Salesforce

Hey #Trailblazers,

In this blog post we will discuss how we can implement the Lightning Calendar in Lightning Web Component using Full Calendar V3 Library.

Full Calendar library has many features that we can use to display the event information. To read more about this Visit https://fullcalendar.io/

Now, let’s say that business wants to display the information about the events inside a particular record page, home page or app page and that have the ability to display the event information in a modal and can drag & drop the event.

So let’s start implementation.

Download the V3 Full calendar Js from https://fullcalendar.io/ and upload as static resource in Salesforce Environment.

Create a Lightning Web Component and use below code

Now, Create Apex Class and use below code. Apex Class is used to get the Event from the Salesforce Event object

You can find the full code here including static resource

https://github.com/amitastreait/full-calendar-js

Add your component inside any record page, home page or app page and see the demo

Thanks for reading 🙂

Sharing is caring 🙂 If you have any query please feel free to put down into the comment section.

#Salesforce #SFDCPanther #DeveloperGeeks