web
You’re offline. This is a read only version of the page.
close
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 "Record URL (dynamic) to Email Template on CRM 2015

(0) ShareShare
ReportReport
Posted on by

Hi all,

Is it possible to add "Record URL (dynamic)" to Email Template on CRM 2015.

I would like to create an Email Template that the body will contain a dynamic URL hyperlink to a case. Later I would like to attach this email template to a workflow...

 

Thanks all

*This post is locked for comments

I have the same question (0)
  • Hamzeh Zawahreh Profile Picture
    3,674 on at
  • Community Member Profile Picture
    on at

    I'm afraid this is not the case with CRM 2015.

    As you can see from my print screen, there is no option for "hyperlink".

    crmTemplateEmail.jpg

  • Verified answer
    Abed Haniyah Profile Picture
    4,287 on at

    Hello SharonV,

    Dynamics CRM OOB does not support adding Record URL (Dynamic) to email template!

    There is workaround, by adding a new custom field to the case entity, then create a workflow to fire on case create which updates the new field to be a Record URL (Dynamic), then simply add this field to your email template and attach the email template to your workflow :)

    Hope this helps,

    Abed.

  • Community Member Profile Picture
    on at

    Thanks! great workaround

  • AXEON Man Profile Picture
    1,063 on at

    Indeed.  I needed this just today and after some trial and error, your solution worked great Abed.  Any idea how to best work in a "friendly URL" there on the email template?

  • Suggested answer
    Abed Haniyah Profile Picture
    4,287 on at

    Hello AXEON Man,

    Simply at the work flow, update the new field to be the following :

    <hyperlink><name>Click Here</name><value>{Click HereProduct-{Record URL(Dynamic)}}</value></hyperlink>

    Then add this field to your email template :)

    Hope this helps,

    Abed.

  • Suggested answer
    Community Member Profile Picture
    on at

    There is a better way, Just set the field type to be "URL".

    For me it did the trick.

  • Suggested answer
    Maik Seyring Profile Picture
    26 on at

    Hi, 

    I know this is a rather old question and there are some workarounds mentioned, but I'd like to add, that you can send emails with links to certain record from a workflow.

    The trick is to NOT use a Email template but define a new email so to say inline. 

    Email_5F00_URL-2.PNG

    In the Set Properties you can set up your email and also add a link to the record.

    Email_5F00_URL-2.PNG

    Unfortunately is the email fields syntax different form the one used for the email templates. Copy and past from an existing email template won't do the job.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi SharonV,

    I also got this trouble and I found out a workaround solution without coding. Kindly watch the following video for the solution: https://www.youtube.com/watch?v=_c6NUDPz3ac&t=462s I had tested this way on many different instances and IT WORKED WELL!!!

    Thank you!

  • MMK Profile Picture
    745 on at

    Hi ,

    I also tried for adding through hyperlink but it was showing the text and URL both and and even tried it putting in anchor tag in Template but it updating the URL by emailbody and all

    The best solution is create a URL data field and save it with the full anchor tag

    like below

    <a id='hiddenHyperLink' href='yourcrm.com/main.aspx;pagetype=entityrecord&id=29ccfe67-7786-e811-80ed-0050569b2b3b'>Click here</a>

    and use that data field directly in Email template and also use the *hiddenHyperLink*  it perfectly worked for me

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans