Workflow email URL encoding as a link

When setting up an email template there are times where you might want to send out an email that includes the link to the enterprise portal. If you have left the default name for the portal then you will see there is a space between enterprise and portal which when the email gets created might not come through the systems where the user can click on the link.

You see in this example I’ve got two links one which is in black text and the other you can see marked in blue and underlined as a standard hyperlink.

2015-07-16_13-23-16

 

This can be controlled by the setup in the email template. In this example the email template looks like this with the replacement code %url% that is relevant for this template entered. You can see that the first one doesn’t look like a hyperlink where the second does. This is because the second one is entered as a html tag.

2015-07-16_13-25-50

If you click the html tab at the bottom of the email editor to go into html mode. The second link is tagged with href tag and the relevant replacement code %url% inserted into the appropriate places in the tag.

2015-07-16_13-28-11

 

Sometimes the url that is generated in this example the user authentication for the claims based email is quite long, complex and maybe scary looking for what you need the user to do. With the href tag you can then insert the appropriate text to show on the link and hide the actual url. For example

2015-07-16_13-33-19

 

This would look like this in the html.

2015-07-16_13-33-53

 

And the output would look like this when sending.

2015-07-16_13-59-51

 

Here is a quick video walk through of the process.

 

Cheers

Lachlan

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s