function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vijaymindvijaymind 

Attendee List is Null when Creating an Event

Hi Friends ,

 

Can anyone can help me out  I stuck in scenario .

How to add invities while creating an event through apex ??

 

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
vijaymindvijaymind

Thanks crmtech21 

 

Yes, I solved my problem by querying on EventAttendee and covered the test coverage !

 

 

 

All Answers

Prafull G.Prafull G.

You can not add EventAttendee using apex. You can perform query on this object but can not insert using apex.

 

You have to manually add attendees using UI.

 

Regards,

vijaymindvijaymind

Thanks crmtech21 

 

Yes, I solved my problem by querying on EventAttendee and covered the test coverage !

 

 

 

This was selected as the best answer