{"id":25089,"date":"2020-10-12T11:04:53","date_gmt":"2020-10-12T11:04:53","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=25089"},"modified":"2020-10-12T12:50:36","modified_gmt":"2020-10-12T12:50:36","slug":"add-hyperlink-programmatically-in-the-note-body","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/","title":{"rendered":"Add Hyperlink Programmatically in the Note body within Dynamics 365"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p style=\"text-align: justify;\">We know that Notes description is now <strong>Rich Text<\/strong> type, so it can support a wide range of formatting.<\/p>\n<p>Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to make the text clickable.<\/p>\n<p>We had to make the below link clickable.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-25090 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png\" alt=\"Add hyperlink programmatically in the Note body\" width=\"412\" height=\"240\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png 412w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1-300x175.png 300w\" sizes=\"(max-width: 412px) 100vw, 412px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Initially, we just wrapped the link in an Anchor text and thought this should make it clickable. However, we saw that instead of making it clickable, the entire content is getting added in plain text as shown in the below screenshot.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-2.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-25091 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-2.png\" alt=\"Add hyperlink programmatically in the Note body\" width=\"486\" height=\"340\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-2.png 486w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-2-300x210.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-2-200x140.png 200w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">In order to resolve this issue, we figured out that we need to wrap our HTML content within a div tag and then add it in the Note body.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-3.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-25092 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-3.png\" alt=\"Add hyperlink programmatically in the Note body\" width=\"486\" height=\"340\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-3.png 486w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-3-300x210.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-3-200x140.png 200w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/a><\/p>\n<p>So to solve this we needed to add an anchor tag with div as follows:<\/p>\n<blockquote><p>note[&#8220;notetext&#8221;] = &#8220;&lt;div data-wrapper=&#8217;true&#8217; style=&#8217;font-size:14px;font-family:&#8217;Segoe UI&#8217;,&#8217;Helvetica Neue&#8217;,&#8217;sans-serif&#8217;;&#8217;&gt;&lt;div&gt;&lt;a href='&#8221; + link + &#8220;&#8216;\u00a0 target=&#8217;_blank&#8217;&gt;'&#8221; + name + &#8220;&#8216;&lt;\/a&gt;&lt;\/div&gt;&lt;\/div&gt;&#8221;;<\/p><\/blockquote>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-4.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-25093 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-4.png\" alt=\"Add hyperlink programmatically in the Note body\" width=\"439\" height=\"309\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-4.png 439w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-4-300x211.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-4-200x140.png 200w\" sizes=\"(max-width: 439px) 100vw, 439px\" \/><\/a><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p style=\"text-align: justify;\">By using the workaround of wrapping HTML content within a div tag and then adding it in the Note body, hyperlinks can be added programmatically in the Note body<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/\">Read More: Add Hyperlink Programmatically in the Note body within Dynamics 365 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,18,19],"tags":[545,588,592,1258],"class_list":["post-25089","post","type-post","status-publish","format-standard","hentry","category-dynamics-365","category-dynamics-365-v9-2","category-dynamics-crm","tag-dynamics-365-crm","tag-dynamics-365-v9","tag-dynamics-crm","tag-notes"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"412\" \/>\n\t\t<meta property=\"og:image:height\" content=\"240\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-10-12T11:04:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-12T12:50:36+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#blogposting\",\"name\":\"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Add Hyperlink Programmatically in the Note body within Dynamics 365\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Add-hyperlink-programmatically-in-the-Note-body-1.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#articleImage\",\"width\":412,\"height\":240,\"caption\":\"Add hyperlink programmatically in the Note body\"},\"datePublished\":\"2020-10-12T11:04:53+05:30\",\"dateModified\":\"2020-10-12T12:50:36+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#webpage\"},\"articleSection\":\"Dynamics 365, Dynamics 365 v9, Dynamics CRM, Dynamics 365 CRM, Dynamics 365 V9, Dynamics CRM, Notes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"name\":\"Dynamics 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"position\":2,\"name\":\"Dynamics 365\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#listItem\",\"name\":\"Add Hyperlink Programmatically in the Note body within Dynamics 365\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#listItem\",\"position\":3,\"name\":\"Add Hyperlink Programmatically in the Note body within Dynamics 365\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"name\":\"Dynamics 365\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/\",\"name\":\"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/10\\\/add-hyperlink-programmatically-in-the-note-body\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2020-10-12T11:04:53+05:30\",\"dateModified\":\"2020-10-12T12:50:36+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to","canonical_url":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#blogposting","name":"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Add Hyperlink Programmatically in the Note body within Dynamics 365","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#articleImage","width":412,"height":240,"caption":"Add hyperlink programmatically in the Note body"},"datePublished":"2020-10-12T11:04:53+05:30","dateModified":"2020-10-12T12:50:36+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#webpage"},"articleSection":"Dynamics 365, Dynamics 365 v9, Dynamics CRM, Dynamics 365 CRM, Dynamics 365 V9, Dynamics CRM, Notes"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","name":"Dynamics 365"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","position":2,"name":"Dynamics 365","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#listItem","name":"Add Hyperlink Programmatically in the Note body within Dynamics 365"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#listItem","position":3,"name":"Add Hyperlink Programmatically in the Note body within Dynamics 365","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","name":"Dynamics 365"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/","name":"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2020-10-12T11:04:53+05:30","dateModified":"2020-10-12T12:50:36+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to","og:url":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png","og:image:width":412,"og:image:height":240,"article:published_time":"2020-10-12T11:04:53+00:00","article:modified_time":"2020-10-12T12:50:36+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Add Hyperlink Programmatically in the Note body within Dynamics 365 - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Introduction We know that Notes description is now Rich Text type, so it can support a wide range of formatting. Recently we had a requirement to add a hyperlink in the note body. But, while doing this we faced one issue -by just wrapping the link in an anchor tag we were not able to","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/10\/Add-hyperlink-programmatically-in-the-Note-body-1.png","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"1 minute"},"aioseo_meta_data":{"post_id":"25089","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 06:26:56","updated":"2025-07-04 08:00:02","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/\" title=\"Dynamics 365\">Dynamics 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdd Hyperlink Programmatically in the Note body within Dynamics 365\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics 365","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/"},{"label":"Add Hyperlink Programmatically in the Note body within Dynamics 365","link":"https:\/\/www.inogic.com\/blog\/2020\/10\/add-hyperlink-programmatically-in-the-note-body\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/25089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=25089"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/25089\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=25089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=25089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=25089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}