Skip to main content

Notifications

Dynamics 365 general forum

<hyperlink> support SMS: as well as HTTPS:?

Posted on by

I've setup a workflow process to send me an email with two URLs in. One is a regular HTTPS: and the other is SMS:. I know that that the SMS URL does work because I've put one on a simple web page and tested it from Android and iOS. The workflow generated email appears to ignoring the generated SMS URL, presumably as it's not considered valid even though as far as I can tell it is.

The snippet I am using for the SMS URL is:

<hyperlink><name>SMS</name><value>{LinkSMS(fred)}</value></hyperlink>

What I receive in my email is:

<a id=2link href="#">SMS</a>

The actual URL should be:

<a id=2link href="SMS:+44nnnnnnnnnn?body=test">SMS</a>

Is there a way to get this to work? I did think that if I could get at the underlying HTML of the template I could hard code the <a> tag and just replace the href contents dynamically instead of creating the entire URL dynamically but I can't see how to do this. Clients would also need to be able to do it.

  • RE: <hyperlink> support SMS: as well as HTTPS:?

    Thanks but I'm not sure I follow. Are you suggesting adding some javascript to replace the # with the correct URL as part of the email body?

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: <hyperlink> support SMS: as well as HTTPS:?

    Hi,

    I have tried the same in my environment and got the same response. I then try to update the email content (replace # with actual SMS url) in the code and it worked (see below screenshot). So you can create an email programmatically and add the SMS url.

    I think the problem is not that we cannot add that url but we can't display email in CRM which has that url.

    email.png

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans