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 :
Microsoft Dynamics CRM (Archived)

Email template {!<entityname>:<fieldname>;} Not working

(0) ShareShare
ReportReport
Posted on by

Hi All,

I read in this blog https://community.dynamics.com/crm/f/117/t/201584

that it is possible to add fields from another entity in email template. But it is not working for me

My scenario is:

1. Created the template for Order Entity

2. I want few fields from opportunity inside it

3. Sender receiver and regarding object is set using javascript

4. Regarding object is order entity record

5. Now according to the suggestion I am adding opportunity fields like this {!opportunity:name;}

6.That turns yellow 

7. But when I run the code, it doesn't show any value

What I am doing wrong? It is something with regarding object or relation between entities or unsupported issue?

Anybody has another way to do it?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    RE: Email template {!<entityname>:<fieldname>;} Not working

    Thanks for the reply. I solved it using Global template. I am setting values from plugin.

    In plugin I am retrieving all the order, opportunity data and then sending the email.

  • Community Member Profile Picture
    on at
    RE: Email template {!<entityname>:<fieldname>;} Not working

    Hi,

    You may take a look at the following article.

    community.dynamics.com/.../insert-dynamic-values-from-custom-entities-in-an-email-template-microsoft-dynamics-crm

    It could be useful to you.

    BR,

    Judy

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans