Timeline for Custom objects fields in email template
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 24, 2019 at 12:24 | comment | added | Khadim Rassoul NDEYE | that's the problem, the admins used a custom contact object, thank you that even | |
Sep 23, 2019 at 18:29 | comment | added | sfdcfox♦ |
@KhadimRassoulNDEYE Alternatively, if you're trying to say that you want to use the custom object as a "contact"--you can't. Only User, Lead, and Contact records may be set by setTargetObjectId . This is why Salesforce advises that you don't try to build custom "contact" objects, because of limitations like this one.
|
|
Sep 23, 2019 at 18:27 | comment | added | sfdcfox♦ |
@KhadimRassoulNDEYE You would still use setWhatId to specify the target for merge fields, but you'll have to send the email by email address (setToAddresses ).
|
|
Sep 23, 2019 at 16:33 | comment | added | Khadim Rassoul NDEYE | Thank you for your interest I already know this, the problem is that the contacts are not in the contact object but in a custom object | |
Sep 23, 2019 at 13:14 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |