Forum Discussion
You can try to hack your way to make it work. As far as I understood, you want to add the option for users to be able to add the event to their Google Calendar directly, right?
If so, you can make a few api calls and create a button to do it for you. The link would be something like this:
https://calendar.google.com/calendar/r/eventedit?text=your event title goes here&dates=start/end date - the dates go here in this format: 20211228T100000/20211228T110000 (year-month-day-T-hour-minutes-seconds/the same but when it ends)&ctz=time zone goes here&location=location goes here&details=event details
Like this https://calendar.google.com/calendar/r/eventedit?text=This+is+lovely&dates=20211228T100000/20211228T110000&ctz=America/Los_Angeles&location=Online+event&details=Today+is+a+very+freezing+day+and+I+hate+it
After you can just add the component in the OccasionView quilt.
I'm not 100% sure whether this will work, but it should, at least in theory 😊 Hoping someone can provide more insight on this.
Related Content
- 5 years ago
- 8 years ago