You need to sign in to do that
Don't have an account?
Laura StanleyHubbard
Send an Email Button in Case Feed View does NOT populate with Case Contact
I have built a macro to streamline some of our processes, but Macros only run in the feed view, and here is my dilemma. When I send an email in the Detail View of a case, the 'To' field auto populates to whoever the contact is on the case. In the Feed View, this doens't happen. Is this a bug in the system? Default functionality?
I'm thinking I should make a custom button to add to the feed view that automatically pulls in the Contact info. Any suggestions on how to do that? Code? I don't want to hardcode a contact into the macro. It should be dependent on the contact on the case.
I'm thinking I should make a custom button to add to the feed view that automatically pulls in the Contact info. Any suggestions on how to do that? Code? I don't want to hardcode a contact into the macro. It should be dependent on the contact on the case.
2. From Detail View, sending an email automatically inserts the contact name/email on the case:
3. Feed View of the same case doesn't insert the case contact/name:
You posted this a while back, so perhaps you've figured this out already, but in case you haven't, I had this same problem today.
The issue was due to the fact that I was testing the macro with a contact that had the same email address as my Salesforce user.
This page (https://help.salesforce.com/apex/HTViewSolution?urlname=How-is-the-To-field-populated-in-the-Case-Feed-Email-Answer-Customer-Publisher&language=en_US) contains the rules for how it determines who to populate the 'To:' field.
In my case as I was able to send the first test email with the macro fine, the specific rule stopping the 'To:' field from being populated was -
'When the last Email on the Case is Outbound, TO will default as all TO addresses from that last email, excluding any addresses the current User can send Case Email 'From' (e.g. Excluding Addresses listed in the From picklist when composing email from the Case).'
As the 'To' address was the same as my send 'From' address, it was excluded.
I hope this helps.