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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 120
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
    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.
     
  • Suggested answer
    ShannonCRM Profile Picture
    502 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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans