I'm testing out Schedule component. I like the export to iCal feature. But looks like I can only download as a file? Is there a way to get access to contents as a string so I can save it to a database.
In case my question is not clear I wanted to a bit more info:
I'm aware of the exportToICalendar method which exports to a file and client downloads the .ics file. What I'm trying to do is something like:
var icsData = this.scheduleObj.exportToICalendar();
So that I can then use icsData somewhere else, such as posting to an API to save in the backend.
Hope this helps.
If this cannot be done please let us know either way so that I can look into other options.