<

Web Links Don't Show in SSRS 3.0 Subscribed Reports?

Published on
9,590 Points
3,590 Views
Last Modified:
Approved
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only seen in e-mail that has been received in Outlook.

When subscribing to SSRS Reports, and when the e-mails are received, it is entirely possible that you don't or can't see the web links when provided in the results.  Note: The links do indeed work, but cosmetically, they don't appear like a web link in the report.

For example in Outlook (I am using Outlook 2010, but it should not matter the version for this issue), the links are there and they do work fine, but cosmetically they don't show unless you rest your mouse of the link - in this example, it is using the Ticket number:
No link showing on Ticket ID
Now, looking at the Text Properties box we see:
Text Box Properties we need to change
Making the following changes in code:
Style / Bold
=IIF(Fields!Ticket_ID.Value<>"",Bold,"")

Color / Blue
=IIF(Fields!Ticket_ID.Value<>"",Blue,"")

Effects / Underline
=IIF(Fields!Ticket_ID.Value,Underline,"")

Open in new window


Ahh now the results in Outlook:
Result Link in Outlook e-mail
Now this looks correct.

What is going on here?
Style / Bold
=IIF(Fields!Ticket_ID.Value<>"",Bold,"")
This adds in the Bold Style if there to test the existence of the Ticket_ID in SSRS.  If the Ticket_ID does not exist, it would be blank (or null).

Color / Blue
=IIF(Fields!Ticket_ID.Value<>"",Blue,"")
This adds in the Blue Color if there to test the existence of the Ticket_ID in SSRS.  If the Ticket_ID does not exist, it would be blank (or null).

Effects / Underline
=IIF(Fields!Ticket_ID.Value,Underline,"")
This adds in the Underline Effect if there to test  the existence of the Ticket_ID in SSRS.  If the Ticket_ID does not exist, it would be blank (or null).

For whatever reason, Microsoft does not render the Web Links in Outlook.  This does not change how the links look on the web site as they show correctly in MHTML format.
0
Author:Kent Dyer
Enjoy this complimentary article view.

Get unlimited access to our entire library of technical procedures, guides, and tutorials written by certified industry professionals.

Get 7 days free
Click here to view the full article

Using this article for work? Experts Exchange can benefit your whole team.

Learn More
COLLABORATE WITH CERTIFIED PROFESSIONALS
Experts Exchange is a tech solutions provider where users receive personalized tech help from vetted certified professionals. These industry professionals also write and publish relevant articles on our site.
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Learn from the best.