You should write an Apex Trigger on User object on Insert and Update event. Query all the contacts in your trigger and then search the Email address of the inserted/updated User. If an email matches with a contact's email then mark the checkbox of that contact.
Please mark this answer as the solution to help others. Please let me know if you need help with writing the trigger.
You should write an Apex Trigger on User object on Insert and Update event. Query all the contacts in your trigger and then search the Email address of the inserted/updated User. If an email matches with a contact's email then mark the checkbox of that contact.
Please mark this answer as the solution to help others. Please let me know if you need help with writing the trigger.
Thanks,
Gaurish
Do you have any code for this send me please.
If this answer solves your problem then mark it as the solution to help others. Thanks.
I am getting error in line 20 that is 'Method does not exist or incorrect signature: void contains(String) from the type List<Contact>'
Change values() to Keyset() at line number 20.
Have you changed the Community name in the IF condition?
Yes, I have changed the community name.