You need to sign in to do that
Don't have an account?
Abhishek AS 3
After update ,delete,inserting contact record update account email field(custom) with contacts email with comma seperated values
Using map in trigger. If account has more than one contact it should display like this. abc@gmail.com,xyz@gmail.com.
Try Below Code Please Mark It As Best Asnwer If It Helps
Thank You!
try with below code. Replace field API name as per your org.
If this helps, Please mark it as best answer.
Thanks!!
try below code.
In above code I bold a where condition that you must use. it will restrict contact whose doesn't have email. if you will not use this condition then you will get null in text field.
one thing you will keep in mind that your custom text filed in which you are storing all the child email must be long text area.
let me know by marking it as the best answer.
Thank you