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...
Suggested answer

Auto Populate email template

(0) ShareShare
ReportReport
Posted on by 15

Hello,

In Case (incident) entity when user click + on time line and select Email, New Email window is open. Is it possible to auto-populate email template on this new email window based on attribute values for current records?

Regards,

Ashley

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Auto Populate email template

    Hi AshFon,

    I think this is impossible. Because there is no way to change the behavior of + email button in the timeline.

    You could try to add a custom button on the case form and open the email form by JS(https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/openform).

    And pass the attribute values of current case record as formParameters of openForm() method.

    Then create an onload event to receive these parameters. Finally insert email template base on these parameters.

  • AshFon Profile Picture
    15 on at
    RE: Auto Populate email template

    Thanks for yout input Steve. I am tring to create javascript to trigger on Email form load. Do you know how do I populate email template base? Assuming I have got template ID or object how can I set this template in email form?

    Ashley

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Auto Populate email template

    Hi AshFon,

    I haven't tried something like this. Here are some links about this, you could have a try:

    https://bingsoft.wordpress.com/2010/08/02/create-email-activity-from-template-using-javascript/

    community.dynamics.com/.../how-can-i-pop-up-a-new-email-activity-with-a-pre-selected-template

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 48

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 44 Super User 2025 Season 2

#3
mk1329 Profile Picture

mk1329 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans