Decorating Knowledge "Copy Link" with Article TitleSummary By default, the Knowledge Article Content widget copies the raw URL to the clipboard. This article explains how to modify the widget so that when a user pastes the link into Rich Text editors (Outlook, Microsoft Teams, Word), it appears as the Article Title instead of a raw URL string. Technical Overview The modification involves intercepting the browser's copy event within the Widget Client Controller. By setting the clipboardData to text/html, we can "decorate" the link with an anchor tag (<a>) while maintaining a plain-text fallback for simple editors. Configuration Steps: 1. Locate the Widget Name: Knowledge Article ContentID: kb-article-contentSys_id: a47ea1cb0b9432004ce28ffe15673a5b 2. Update the Client Controller Replace the existing c.copyPermalink function with the following logic: c.copyPermalink = function() { // Construct the navigation URL var permalink = $window.location.origin + $window.location.pathname + '?id=' + c.data.params.sysparm_article_view_page_id + '&sysparm_article=' + $scope.data.number; var displayTitle = c.data.shortDesc || $scope.data.number; var htmlLink = '<a href="' + permalink + '">' + displayTitle + '</a>'; var copyHandler = function(e) { e.clipboardData.setData('text/html', htmlLink); e.clipboardData.setData('text/plain', permalink); e.preventDefault(); }; document.addEventListener('copy', copyHandler); try { if (document.execCommand('copy')) { c.showUIMessage('info', c.data.messages.PERMALINK_COPIED); } } catch (err) { $window.prompt("${Use Ctrl-C to copy}", permalink); } finally { document.removeEventListener('copy', copyHandler); } $('p.kb-permalink button').focus();}; Validation Results Target ApplicationExpected Paste ResultMicrosoft OutlookArticle Title (Clickable Link)Microsoft TeamsArticle Title (Clickable Link)Notepad / URL Barhttps://instance.service-now.com/... Note: This is a customisation to the OOB functionality, and customers need to maintain the upgrade maintenance.