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.
I have the same question (0)
  • 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
ManoVerse Profile Picture

ManoVerse 30 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans