I need to programmatically tie an email to a Case. The code I have makes some kind of association, because the email will display in the Case activities. However, the email ‘Related Entity’ field remains blank.
Here’s my code:
Base.CurrentMessage.SetValueExt<CRSMEmail.refNoteID>(email, taxCase.NoteID);
email = Base.CurrentMessage.Update(email);
Base.Actions.PressSave();
In the database, the field is being correctly set, but the UI does not reflect the change.