Skip to main content

Notifications

Microsoft Dynamics CRM forum
Unanswered

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

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

  • Jon Calkins Profile Picture
    Jon Calkins 5 on at
    RE: Email To: field is auto populated with Case when creating an email activity from a Case.

    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.

  • Bipin D365 Profile Picture
    Bipin D365 28,962 Moderator on at
    RE: Email To: field is auto populated with Case when creating an email activity from a Case.

    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

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans