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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamic URL hyperlink in email template not clickable

(0) ShareShare
ReportReport
Posted on by 903

Hello,

I have a custom entity where I am storing dynamically the record URL in a custom field upon record creation.

I wanted to use this custom field as a dynamic hyperlink in the email template.

Basically, I have a custom workflow that triggers and send the email using this template. As a result, the URL is not showing properly specifically the display text as it is always broken knowing that the URL is working if I just copy/paste it to the browser.

I am simply passing the below parameter:

{!Applicant Interview:URL;}

pastedimage1677180840586v1.png

I have also tried the below HTML code and it is not working:

pastedimage1677180969942v2.png

Result:

pastedimage1677181003774v3.png

I already check the below posted previously with no hope:

community.dynamics.com/.../how-to-add-record-url-dynamic-to-email-template-on-crm-2015

Could you please advise what am I doing wrong in the template and how what will be right way of populating it?

Any help is greatly appreciated.

Best regards,

EBMRay

I have the same question (0)
  • EBMRay Profile Picture
    903 on at
    RE: Dynamic URL hyperlink in email template not clickable

    Hello Leah Ju ,

    I followed exactly the same steps that you shared and changed the URL field type to "URL":

    URL.png

    URL-Data.png

    Parameter passed in email template:

    <p><a href="{!Applicant Interview:URL;}">Interview URL</a></p>

    pastedimage1677236422760v1.png

    As soon as it is received in Outlook, it appears like the below and is not clickable:

    pastedimage1677236198091v2.png

    It is getting broken I don't know what the reason knowing that the URL is already filled when it is being populated in the template.

    Could you please let me know what might be wrong?

    Thank you!

  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Dynamic URL hyperlink in email template not clickable

    Hi EBMRay,

    Please refer to the following steps:

    Way1:

    1.The field should be URL format:

    pastedimage1677231065885v4.png

    pastedimage1677231623170v10.png

    2.In email template, you can use <a href="{!Account:URL;}">URL</a>  HTML code:

    pastedimage1677231303842v8.png

    Way 2:

    1.You need use <a href="Record URL">URL2</a> to populate the custom field:

    pastedimage1677231652883v11.png

    2.Then insert dynamic value directly on the email template:

    pastedimage1677231357570v9.png

    Test:

    pastedimage1677231738120v12.png

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 251

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 90 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans