web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

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

(0) ShareShare
ReportReport
Posted on by 135
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
    Dengliang Li Profile Picture
    Microsoft Employee on at
    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.
     
  • Suggested answer
    ShannonCRM Profile Picture
    502 on at
    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 54

#2
11manish Profile Picture

11manish 37 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 33

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans