Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Inserting a Hyperlink in a workflow-generated email

Posted on by Microsoft Employee

I have a simple workflow in which I generate an email.  I want to insert a hyperlink into the email that contains a field to be dynamically inserted, but it is not rendering correctly.  Here are two methods that I've tried without success:

In this first example, the markup text shows:
example: 

<a href="http://www.nysar.com/somestuff/{Course(Class (Class))} ">Click here to get your student workbook</a>

RESULTS

 <a href="http://www.nysar.com/somestuff/RI407-Build Your RE Pract ">Click here to get your student workbook</a>

 In the SECOND example, I only get the NAME text:

<hyperlink><name>TEST TET TEXT</name><value>www.nysar.com/{Course(Class (Class))}</value></hyperlink>

RESULTS:

TEST TET TEXT

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Inserting a Hyperlink in a workflow-generated email

    Thanks for taking the time to lend a hand, Darren.  I think we are in good shape now.

    Best wishes,

    Austin

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Inserting a Hyperlink in a workflow-generated email

    Hi Ausmoran,

    How are you inserting the hyperlink?  I suggest using the 'Insert Hyperlink' Command - and it will use this syntax -

    <hyperlink><name>Click here to see Lead</name><value>{Record URL(Dynamic)(Lead)}</value></hyperlink>

    leadworkflow.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Inserting a Hyperlink in a workflow-generated email

    thank you so very much, Kevin.  The first example does create the proper hyperlink with the dynamic field contents.  However all of the mark-up displays in the recipients email.  So the recipient see this in their email:

    <a href="www.nysar.com/.../RI407-Build Your RE Pract ">Click here to get your student workbook</a>

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Inserting a Hyperlink in a workflow-generated email

    What exactly is it that you are trying to accomplish? Based on the information you give, it looks like your first hyperlink renders correctly. You might want to add a new field to your course classes called "url" to get the formatting correctly shown.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans