{"id":251,"date":"2013-05-22T23:17:55","date_gmt":"2013-05-22T23:17:55","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=251"},"modified":"2022-02-03T11:25:05","modified_gmt":"2022-02-03T17:25:05","slug":"report-server-add-a-mailto-link-in-the-report-rows","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/","title":{"rendered":"Report Server Report add a mailto: link in the report rows"},"content":{"rendered":"<p>I am just getting familiar with report services and making a report with Business Intelligence. I think you can do the same with Report Builder 2.0 &#8211; if someone would comment I will update the post. I wanted to add a mailto: link with a subject. You are allowed in expressions, to use any .net function you want, but there is a way to do this.<\/p>\n<p>Not every dll is included by default, and what I wanted to use was the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/system.web.httputility.urlencode.aspx\">System.Web.HttpUtility.UrlEncode()<\/a> function. Here is the magic that makes it work:<a href=\"http:\/\/capstonebi.blogspot.ca\/2010\/04\/url-encoding-in-reporting-services.html\">link<\/a>.<\/p>\n<p>In short, if you are a programmer you would normall put an Imports System.HttpUtilty at the top and then use the function with HttpUtility.UrlEncode()<\/p>\n<p>If you do this, the Intellisense (when the code completes the strings for you) will kick in. This is how you know if it is working.<\/p>\n<p>Basic Steps:<\/p>\n<ol>\n<li>Click menu Report-&gt;Report Properties\n<ol>\n<li>what? no report menu? Ok &#8211; right mouse click in the area just outside the tablix and choose Report Properties<\/li>\n<\/ol>\n<\/li>\n<li>Click References on the Left, then Add at the top and the &#8230; button to get a list<\/li>\n<li>Scroll down and include System.Web, click OK, then OK again<\/li>\n<li>Put a place holder in any cell by R-Click-&gt;Create Placeholder<\/li>\n<li>Click, THEN Right Mouse click on the placeholder and choose Placeholder Properties\n<ol>\n<li>General Tab fill in the name, the text to show (might be an expression of =&#8221;my text here&#8221; and tooltip<\/li>\n<li>Action Tab: Choose &#8220;Goto URL&#8221; and fill the function listed below<\/li>\n<li>Format your text<\/li>\n<\/ol>\n<\/li>\n<li>Click OK twice<\/li>\n<li>Click Build-Build Project_Name to see if it worked<\/li>\n<\/ol>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\n\r\n=&quot;mailto:me@mycompany.com?subject=&quot; &amp; System.Web.HttpUtility.UrlEncode(&quot;Topic:&quot; &amp; Fields!Topics_ID.Value &amp; &quot; &quot; &amp; Fields!TopicText.Value).ToString.Replace(&quot;+&quot;,&quot; &quot;) &amp; &quot;&amp;body=&quot; &amp; System.Web.HttpUtility.UrlEncode(&quot;Q: &quot; &amp; Fields!Topics_ID.Value &amp; &quot;.&quot; &amp; Fields!Questions_ID.Value &amp; &quot; &quot; &amp; Fields!QuestionText.Value &amp; vbCrLf &amp; vbCrLf).ToString.Replace(&quot;+&quot;,&quot; &quot;)\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am just getting familiar with report services and making a report with Business Intelligence. I think you can do the same with Report Builder 2.0 &#8211; if someone would comment I will update the post. I wanted to add a mailto: link with a subject. You are allowed in expressions, to use any .net [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-251","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Report Server Report add a mailto: link in the report rows - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Report Server Report add a mailto: link in the report rows - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"I am just getting familiar with report services and making a report with Business Intelligence. I think you can do the same with Report Builder 2.0 &#8211; if someone would comment I will update the post. I wanted to add a mailto: link with a subject. You are allowed in expressions, to use any .net [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-22T23:17:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:25:05+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Report Server Report add a mailto: link in the report rows\",\"datePublished\":\"2013-05-22T23:17:55+00:00\",\"dateModified\":\"2022-02-03T17:25:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/\"},\"wordCount\":361,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/\",\"name\":\"Report Server Report add a mailto: link in the report rows - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2013-05-22T23:17:55+00:00\",\"dateModified\":\"2022-02-03T17:25:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/report-server-add-a-mailto-link-in-the-report-rows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Report Server Report add a mailto: link in the report rows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Report Server Report add a mailto: link in the report rows - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/","og_locale":"en_US","og_type":"article","og_title":"Report Server Report add a mailto: link in the report rows - ELB Solutions.com Inc.","og_description":"I am just getting familiar with report services and making a report with Business Intelligence. I think you can do the same with Report Builder 2.0 &#8211; if someone would comment I will update the post. I wanted to add a mailto: link with a subject. You are allowed in expressions, to use any .net [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2013-05-22T23:17:55+00:00","article_modified_time":"2022-02-03T17:25:05+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Report Server Report add a mailto: link in the report rows","datePublished":"2013-05-22T23:17:55+00:00","dateModified":"2022-02-03T17:25:05+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/"},"wordCount":361,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/","url":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/","name":"Report Server Report add a mailto: link in the report rows - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2013-05-22T23:17:55+00:00","dateModified":"2022-02-03T17:25:05+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/report-server-add-a-mailto-link-in-the-report-rows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Report Server Report add a mailto: link in the report rows"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=251"}],"version-history":[{"count":7,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/251\/revisions"}],"predecessor-version":[{"id":2859,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/251\/revisions\/2859"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}