I'm trying to enable tokens from custom facets inside the RTE for the body in preview, they are working fine in the subject but have not been able to make them work inside the message body.
Here is what I tried, patching this file
<processor type="Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.SendTestMessage, Sitecore.EmailCampaign.Cm" resolve="true" />
which then calls the
TestMessageTask. Inside this class we can see this:
Contact contact = this._contactService.GetContact(recipientInfo.ContactIdentifier, "Personal", "Emails");
Notice the 2 facets used for the contact, while trying to create a custom
SendTestMessage I got stuck with some internal and private fields which takes me to this question, is there any way we can preview tokens from custom facets?