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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Email To: field is auto populated with Case when creating an email activity from a Case.

(0) ShareShare
ReportReport
Posted on by 5

When a user navigates to a Contact >> related Case (the contact is a customer on the Case) >> Creates a new email activity from the case >>

Then:

- The Regarding is the related Case. I can go to the Case by clicking the Regarding field

- However, the To: field on the Email activity is also populating with the related Case record

- Since the Case itself doesn't have an email address this of course means it's not a valid email address.

- As you can see from the screenshot, contents of the To: field are in black letters with a head set icon. The record can't be clicked or opened

pastedimage1651772215061v1.png

Questions:

- How is the To: field getting populated with the Case (Name)? I've looked at Javascript, Business Rules, Flows, Workflows, etc. and can't find anything that is setting this to Case.

- I would assume out of the box functionality would be to have the To: populate with the related Contact?

- If the business requirement was to populate the Email To: field with the related contact, how would that best be achieved? JavaScript?

Observations

- I don't know for sure but this was reported by the client within a week of Wave 1 2022 being installed in their environments.

- This is happening in both DEV and PROD environments

Thanks,

Jon Calkins

PowerObjects / HCL

I have the same question (0)
  • Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    You can write javascript on onload and fetch contact based on regarding using CRM.webapi.retrieverecord and then set the To field using below code

    www.google.com/url

    Thanks,

    Bipin

  • Jon Calkins Profile Picture
    5 on at

    This issue randomly resolved itself last Monday (5/9/22).

    Now again today (5/16/22) the issue is happening again!

    We have made no changes, no solutions have been deployed to PROD.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans