Timeline for System.EmailException: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id : using Event in WhatID of singlemailmessage method of salesforce
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 15, 2015 at 1:50 | answer | added | Matt and Neil | timeline score: 2 | |
May 28, 2015 at 12:01 | comment | added | Priyanka Kajawe | recipientType = contact & relatedToType = Event | |
May 28, 2015 at 10:02 | comment | added | Nebula | What values you have given in recipientType & relatedToType attributes in template? | |
May 28, 2015 at 9:53 | comment | added | Priyanka Kajawe | Yep!! it is visualforce template, after commenting What ID line, email is generated but blank values, | |
May 28, 2015 at 9:35 | comment | added | Nebula | Your email template is of which type text/vsiualforce. If not visualforce, try making it vf template and then try removing whatid code line. | |
May 28, 2015 at 9:24 | answer | added | Torsen | timeline score: 0 | |
May 28, 2015 at 9:07 | history | edited | Priyanka Kajawe | CC BY-SA 3.0 |
added 415 characters in body
|
May 28, 2015 at 8:03 | comment | added | Nebula | Please share the code in detail. | |
May 28, 2015 at 7:52 | history | edited | Keith C | CC BY-SA 3.0 |
Format
|
May 28, 2015 at 7:29 | history | asked | Priyanka Kajawe | CC BY-SA 3.0 |