You need to sign in to do that
Don't have an account?

Trigger please help
Hello all,
I have a custom object called Meetings.
I have a join called Meeting Participants between Meeting and Contacts called Contacts_in_bilaterals__c.
I would like a trigger to fire everytime there is a new Meeting Participants added in the join to go and populate the concatenated name and title of the Contact (I have already that field on the Contact) in a freetext field on the Meetings record.
Would like to have is to if new meeting participants are added, the new ones come under the one already there, pehaps separated by a carriage return or else.
Thanks
I have a custom object called Meetings.
I have a join called Meeting Participants between Meeting and Contacts called Contacts_in_bilaterals__c.
I would like a trigger to fire everytime there is a new Meeting Participants added in the join to go and populate the concatenated name and title of the Contact (I have already that field on the Contact) in a freetext field on the Meetings record.
Would like to have is to if new meeting participants are added, the new ones come under the one already there, pehaps separated by a carriage return or else.
Thanks
Assuming api names of meeting as Meeting__c , contact as Contacts_in_bilaterals__c and join as Meeting_Participants__c
The field to be updated on meeting as textAreaFied__c and the field from contact with title and name as NameWithTitleField__c
Not sure about API Names modify the API names where ever required
Try below code
Regards,
Bhanu Mahesh