Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Dynamic values from lookup in email template crm 365

(0) ShareShare
ReportReport
Posted on by 2,667

Hi All,

I have Account entity email template in this i need to get dynamic values from custom entity like:

On Account entity one lookup field Primary Address (Address Master entity) is there & from Primary Address  lookup field District is available.

Here Can i get dynamic values of this District from Address Master entity in Account email template ?I have used below template but its showing null district value.

pastedimage1651230852334v1.png

pastedimage1651231157868v1.png

Is it possible ?

Anyone have any ideas ?

Thanks,

Jharana

  • Jharana Baliyar Singh Profile Picture
    2,667 on at
    RE: Dynamic values from lookup in email template crm 365

    Thanks for response Bipin. Yes I was assuming the same & taking other field by populating value from primary address lookup.

    Thanks,

    Jharana

  • Verified answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Dynamic values from lookup in email template crm 365

    Hi,

    At the moment its not supported. You can just take value of the lookup record. however cannot go inside that record to get its other field values.

    You can create new custom field in Account entity and auto populate this with Workflow/JS/Plugin and use that in your email template.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Jharana Baliyar Singh Profile Picture
    2,667 on at
    RE: Dynamic values from lookup in email template crm 365

    Hi Bipin,

    Thanks for your response.

    I have used correct scehmaname in lowercase & once save it will aitomatically set the field with display name what we are using in crm entity.

    But here what syntaxt should use to get lookup value district  present in the primary address entity & primary address is avilable in Account entity.

    Thanks,

    Jharana

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Dynamic values from lookup in email template crm 365

    Hi,

    Please try below blog.

    rawishblog.wordpress.com/.../

    make sure you are specifying the correct schema name and field name in lower case letter. And when you click on save it should turn into yellow color.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Jharana Baliyar Singh Profile Picture
    2,667 on at
    RE: Dynamic values from lookup in email template crm 365

    Hi Amit,

    I have used global template also but no value.

    Thanks,

    Jharana

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,407 Super User 2025 Season 1 on at
    RE: Dynamic values from lookup in email template crm 365

    Hello,

    Can you use Global Template type.

    Thank you,

    Amit katariya

  • Jharana Baliyar Singh Profile Picture
    2,667 on at
    RE: Dynamic values from lookup in email template crm 365

    Hi Amit,

    I have followed the link u shared: I am using like below :

    Type am using Account email template not global.

    {!schemanameofprimaryaddressentity : districtschemaname/@name ;}

    {!new_address : new_district/@name ;}

    But its giving null value.

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,407 Super User 2025 Season 1 on at
    RE: Dynamic values from lookup in email template crm 365

    Hello,

    Please refer below article where you will have information related with the Email Templates.

    darrelljacksonblog.com/.../

    Thank you,

    Amit Katariya

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 > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 93

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans