I am getting the date information on another screen and would like to automatically show it on the calendar. I want to store it in a variable- is there a way to create a new event using data from a variable and have it show up on the calendar?
Add new event using a variable
You can use the addEvent method to dynamically add a new event to the calendar.
Here you can find an example to this method and other crud operations.
Let me know if this helps!