-
Notifications
You must be signed in to change notification settings - Fork 50
Support ORGANIZER and ATTENDEE #18
Comments
as well as setLocation |
I'd be willing to help push an feature update, but I'm not sure what these added methods would provide? Things like setLocation are just wrappers for addProperty.
(btw, setLocation is NOT in the npm version of this library, you need to use the github address in package.json if you want to get the most up-to-date code) |
We're using this library to generate event invitations and I also noticed a lot of Having more expressive methods for this in the library would be highly appreciated. I would even go so far as to implement setters for class, priority, transparency, status and whatever else there is. Even though these would be thin wrappers around |
+1 |
Attendee and organizer are typed CAL-ADDRESS. It only takes value parameter. For now, it is impossible to set ROLE or PARTSTAT etc. |
@oathcomrade Try this: event.addProperty(
"ATTENDEE", "MAILTO:" + meetingAttendee.email,
{
ROLE : "REQ-PARTICIPANT",
PARTSTAT : "NEEDS-ACTION",
RSVP : "TRUE",
CN : meetingAttendee.name.full
} ); |
It would be nice to be able to have a
.setAttendee()
orsetAttendees([])
and asetOrganizer()
method for Events.The text was updated successfully, but these errors were encountered: