function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
teena jacobteena jacob 

Use Standard Calendar Component in Othe lightning custom Component?


      I want the standard calendar component in a custom lighting component. How can I achieve this?
Pramodh KumarPramodh Kumar

If you developing lightning components means it is custom development, you cannot achieve the standard components in the lightning development.

Check out this video and understand the how to retrieve the lightning component on the click event.

let me know if you have any question

teena jacobteena jacob
Hi Pramodh,

       Can you please help me,
My requirement is: I have a map component (custom component) and I need to show the standard calendar in lightning beside the custom component, How can I able to achieve this?

Shubham Prajapati 19Shubham Prajapati 19
Hi Teena,

Are you talking about showing datepickers like this
teena jacobteena jacob
Hi Shubham,
              No, I'm not talking about datepickers, I need to include the standard lightning calendar component inside another custom lightning component. How can I able to achieve this in using the code?
Sukanya BanekarSukanya Banekar
Hi Teen,

You can call a controller method from lightning to redirect to calendar. Call controller method from Init and use 

Let me know if this works.

Sukanya Banekar
teena jacobteena jacob

Hi Sukanya,
                No, it's not working! 

Error Msg:  This page isn't available in Salesforce Lightning Experience or Salesforce1.