Skip to main content

Notifications

Announcements

No record found.

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

  • Verified answer
    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.

  • 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans