Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to add field values from another entity into Email Template

(0) ShareShare
ReportReport
Posted on by

I have created one email template and template type is "Order".

Inside that template I need some fields from Order entity(which is working) and some from Opportunity entity. 

But when I click on "Insert" there is no opportunity entity in the list. 

How can I accomplish this?

emailorder.PNG

I tried this but doesn't work:

https://www.crmsoftwareblog.com/2015/11/dynamic-values-custom-entities-email-templates/

*This post is locked for comments

  • drMurray86 Profile Picture
    27 on at
    RE: How to add field values from another entity into Email Template

    This is the exact procedure we are following, and have we success with other entities following this procedure as well.  We know the formatting is correct since it turns yellow once we save it.  But when an email is sent, and the template selected, the data fields are blank for every field from the Opportunity entity.

  • maniph Profile Picture
    5 on at
    RE: How to add field values from another entity into Email Template

    Refer the below link

    https://passion4dynamics.com/2018/01/02/how-to-insert-dynamic-values-from-custom-entities-in-an-email-template-microsoft-dynamics-crm/

  • drMurray86 Profile Picture
    27 on at
    RE: How to add field values from another entity into Email Template

    Does anyone have any updated answers for this?  We are trying to use opportunity fields in email templates and they always return blank, with other entities like Leads are working.  Does anyone have any advice or know of some configuration to get Opportunity fields to work in global email templates?

  • Community Member Profile Picture
    on at
    RE: How to add field values from another entity into Email Template

    I tried using global template. Account entity data is getting retrieved but not for any other entity. Tried Custom entity also.

    Added these two fields:

    {!Opportunity:Topic;No Name found}{!Compliance:Customer Status;No Name found}

    return No Name found always.

  • Community Member Profile Picture
    on at
    RE: How to add field values from another entity into Email Template

    NO you can't. that's limitation in global template. you can only use user entities.

  • Community Member Profile Picture
    on at
    RE: How to add field values from another entity into Email Template

    Thanks for your reply. But if I create global template, will I be able to add Order entity object as a regarding object?

  • Verified answer
    Community Member Profile Picture
    on at
    RE: How to add field values from another entity into Email Template

    Email Templates are supported for some records only. You can't add value from other entities in template. You have to use Global Template or entity 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans