Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

Set "To" automatically when creating a new email out of a case

Posted on by 141
Hello together,
 
 
I maintain a D365 in which it automatically fills us the /To/ of the email when a new email is created from a case.The account is used as a priority. If this is not available, it pulls the Contact. We would like to have the logic the other way around.
Unfortunately I can't find the logic anywhere. Neither under the /On Load/ events, nor in any web resources.
 
Can you tell me where the logic is hidden? Is this a default behavior which can't be changed at all?
 
 
Thank you in advance.
  • Suggested answer
    ShannonCRM Profile Picture
    ShannonCRM 496 on at
    Set "To" automatically when creating a new email out of a case
    For this reason, when we built our system, we used "customer" field as the Contact, and created a separate custom field to store the customer's account.  I am posting this not because it can help you - you're probably too deep in your current installation to make this change, but to help future people who are setting up new Customer Service instances. 
     
    It is always better to use "customer" as the contact, that is how Microsoft intended it, and all of the out of box features will work better this way.
     
    You can probably change the behavior (over-ride it) by writing on-load javascript to trigger when the Email form is in Create mode and it is regarding a case.
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Set "To" automatically when creating a new email out of a case
    Hi,

    This is the default behavior.
    The 'To' field is automatically mapped to the associated customer's email address.
    However, when creating an email in the Activity entity, the "To" field is not automatically populated and needs to be populated manually.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans