web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Suggested Answer

How to get the field values from a related custom entity in an email template – Microsoft Dynamics CRM

(0) ShareShare
ReportReport
Posted on by 56

Hello friends,

I'm creating email template and accessing data fields from custom entity by using this syntax : {!EntityLogicalName:FieldLogicalName;}

and related custom entity (lookup field ) syntax : 

Customer: {!dot_document:dot_Customer/@name;Aaka Restaurant}

Its working great.But my requirement is i need to access Field from lookup entity ,Example :

Document entity :Customer (lookup field) ..I want to access First name,city,or purchase Date of Customer.

I would like to know the way of doing this.I will appreciate if somebody help me.

Thanks,

Piny.

*This post is locked for comments

I have the same question (0)
  • How to get the field values from a related custom entity in an e Profile Picture
    5 on at

    Hello there, my dear friend, Did you find a solution?

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Piny,

    How about if you can bring that column into that table by using the calculated column?

  • Piny Profile Picture
    56 on at

    Hi,

    nop, we can't use Email template but we can use workflow to complete the requirement, and it worked.

  • Piny Profile Picture
    56 on at

    Thanks for your help! I used the workflow instead of the email template.

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Only primary column from lookup field can be shown in Email template.

    You  can insert placeholder in your email template and then use custom code to replace place holder with actual value using plugin/custom workflow.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans