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
Ken Koellner  (9 of 12)Ken Koellner (9 of 12) 

Multiple Contacts and Leads on the same Event

I'm looking for a way to represent something like a seminar where they are many attendees that are clients.  Some of these clients will be represented by Contact records and some Lead records.
 
I'd like to use Event and EventRelation but there are some odd restrictions that I don't see a work around for--
 
In Lightning, EventRelation records are shown on Event (in the Name related list) only when isParent is true and either one Lead and no Contacts or any number of Contacts but no Leads can have that field set.  With a mixed group, that means the Name related list on Event can really only be used to show Contacts. 
 
Now looking on related listed the Events on Contacts.  That works in both Classic and Lightning I can get the Open Activities related list and Activity Related history and the Events show up.
 
But for Lead, I can't get the Events listed (as I have to set isParent to false and they only show in the Activities related lists if isParent is true).
 
So considering the following use cases--
1. For a seminar with both Leads and Contact attending -- List all Leads and Contacts.
2. For a Contact -- list all the seminars they attend.
3. For a Lead -- list all the seminars they attend.
 
Case 1 works in Classic but not Lightning.
Case 2 works in Classic and Lightning.
Case 3 does not work in Classic or Lightning.
 
Anyone have suggestions for the best way to data model?
 
The one thing I've thought of is use native Event but add a custom related object.  Then put that related list on all three objects.