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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamic URL/hyperlink ...
Power Apps
Answered

Dynamic URL/hyperlink in the email template is not working

(0) ShareShare
ReportReport
Posted on by 1,710

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.

 

Email Template.png

Julien2_0-1677007402816.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

What am I doing wrong in the template and what will be the corrected URL?

Any help is greatly appreciated.

Best regards, 

Julien

I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Julien2 

    What is the column type you are storing the link in?

    Is it working properly from the UI?

     

     

  • EBMRay Profile Picture
    1,710 on at

    Hello @Mira_Ghaly ,

    The custom field is of type "Text" and it is working properly if I just copy/paste the URL on the browser:

    Julien2_0-1677052453443.png

    The problem not from the URL it is from the display text in the email template when using the hyperlink.

    I am simply passing the below parameter:
    {!Applicant Interview:URL;}

    Julien2_1-1677052620941.png

    When sending the email, it is not showing the URL that should be populated it is always broken:

    Julien2_2-1677054286396.png

    If you noticed above the URL is showing properly under "Interview URL" without using insert hyperlink from the email template.

     

    Could you please advise what might be the issue?

     

    Best regards,
    Julien

     

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Julien2 

    My guess is because it is concatenating the https with the https of your URL but will replicate now at my end and see.

     

  • Verified answer
    Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Julien2 

    My bad I think I got you wrong can you try below the below I tested it my end and it works

    Mira_Ghaly_0-1677061778320.png

     

  • EBMRay Profile Picture
    1,710 on at

    Hello @Mira_Ghaly ,

    I replicated the same as you did and I got the below outcome:

    Julien2_0-1677067659819.png

    Julien2_1-1677067712085.png

     

    I don't know why it is not showing the display test only as it is always showing the full URL in the email.

     

    Please let me know what I am doing wrong.

     

    Best regards,

    Julien

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Julien2 

    Can you please show me how it looks in your email template?

     

  • EBMRay Profile Picture
    1,710 on at

    Hello @Mira_Ghaly ,

     

    Please find below how the email template looks like:

    Julien2_0-1677131182613.png

     

    Best regards,
    Julien

  • UgoA-NMS Profile Picture
    9 on at

    Hello, 

     

    you must take care that the URL isn't detected like an hyperlink (underlined) in the href, also the dynamic text must be detected (blue highlight).

     

    this work for me :

     

    UgoANMS_0-1683212524070.png

     

  • PCEWMBT Profile Picture
    12 on at

    Hi @Julien2 Did you ever resolve this? 

    My template looks like this, View in Dynamics: <a href="{!Opportunity:Record URL;}">Dynamics Opportunity Record</a>

    The email shows blue text underlined like it wants to open a link, but there is no link there

     

    I'm also trying to build a link using dynamic text which looks like this in the template

    <a href="https://abc123.com/Project/Summary.aspx?j={!Opportunity:Internal Code 2;}">Link to Project</a>

    The email shows just <a href=

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard