Content
Updated by Andreas G over 4 years ago
AS an OpenProject user as well as a Meeting Organizer
I WANT have all attendees of a meeting in the generated ics file (as well as PARTSTAT and other metadata)
SO THAT I can confirm or decline the invite right from my calendar software.
The icalendar-gem supports it.
```ruby
cal.event do |e|
// ...
e.append_attendee(Icalendar::Values::CalAddress.new("mailto:attendee@example.com", {"CN" => "Attendee Name", "PARTSTAT" => "NEEDS-ACTION", "RSVP" => "TRUE", "CUTYPE" => "INDIVIDUAL", "ROLE" => "REQ-PARTICIPANT"}))
end
```
I WANT have all attendees of a meeting in the generated ics file (as well as PARTSTAT and other metadata)
SO THAT I can confirm or decline the invite right from my calendar software.
The icalendar-gem supports it.
```ruby
cal.event do |e|
// ...
e.append_attendee(Icalendar::Values::CalAddress.new("mailto:attendee@example.com", {"CN" => "Attendee Name", "PARTSTAT" => "NEEDS-ACTION", "RSVP" => "TRUE", "CUTYPE" => "INDIVIDUAL", "ROLE" => "REQ-PARTICIPANT"}))
end
```