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
DeptonDepton 

EventAttendee trigger

Hi, when I do create a custom object record, I automatically create an event.

From the custom object record people click on a custom link and then,  an email is sent to the owner so he/she knows who is attending the event.

Is there any way to automatically add attendees to the event?

I have read that this cannot be done through apex, is it true? any workaround? maybe creating a VF page?

 

Thank you

Best Answer chosen by Admin (Salesforce Developers) 
Navatar_DbSupNavatar_DbSup

Hi,

 

Event Attendee is a locked object meaning you cannot make changes to the data that it stores using the API. There is an idean sitting there for a long time asking SF to unlock it, but invain. Roll your own objects to do the Eventing system; 

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

All Answers

Navatar_DbSupNavatar_DbSup

Hi,

 

Event Attendee is a locked object meaning you cannot make changes to the data that it stores using the API. There is an idean sitting there for a long time asking SF to unlock it, but invain. Roll your own objects to do the Eventing system; 

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

This was selected as the best answer
DeptonDepton

Thak you Ankit! :)