nwcell / ics.js

A browser firendly VCS file generator written entirely in javascript!!!!!!
MIT License
620 stars 258 forks source link

Setting UID and Organizer #64

Open rstrojan opened 5 years ago

rstrojan commented 5 years ago

Hello, I've created a Qualtrics survey where people select an appointment and it generates an .ics file for them (so that I don't have to do it manually). Which is working well. I would like to upgrade this feature so that I can make my inbox the Organizer, the downloader as an attendee, and collect the RSVP responses to the correlating event (with matching UID) on my own calendar.

Ideally, I'd like to add Organizer, UID, and Attendee as parameters to the addEvent function. However, I've not been able to make this work. I've adjusted the parameters to addEvent in the ics.js file but it is still not working. My guess is that it's something to do with the ics.deps.min.js file, but I can't really make sense of that at all, so I'm not sure what to edit there.

Any insights appreciated. Thanks!