{"id":352,"date":"2011-08-20T05:49:00","date_gmt":"2011-08-20T05:49:00","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=352"},"modified":"2011-08-20T05:49:00","modified_gmt":"2011-08-20T05:49:00","slug":"providing-an-hyperlink-to-a-related-entity-through-communication-screen","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/","title":{"rendered":"Providing an Hyperlink to a related entity through Communication screen"},"content":{"rendered":"<div>In today\u2019s software world reducing number of clicks is an essential task. In CRM we can have communications against all the entities. How helpful it would be; if I can provide link to parent entity on communication screen itself? This way I can go from communication find screen and then also visit the relevant entity record against which that communication is created.<\/div>\n<p><\/p>\n<div>Below is the same thing we have implemented for communications against Quote. On the communication screen we have provided hyperlink to navigate to corresponding quote.<\/div>\n<p><\/p>\n<div><a href=\"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s1600\/Image.JPG\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" id=\"BLOGGER_PHOTO_ID_5642812323574679474\" style=\"DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 600px; CURSOR: hand; HEIGHT: 200px; TEXT-ALIGN: center\" alt=\"\" src=\"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG\" border=\"0\" \/><\/a><\/div>\n<p><\/p>\n<div>Below is how you can achieve the same.<\/div>\n<p><\/p>\n<div>\n<\/p>\n<fieldset>\n<\/p>\n<legend>Script<\/legend>\n<p>sQuoteId = eWare.GetContextInfo(&#8220;communication&#8221;,&#8221;comm_quoteid&#8221;);<br \/>\n<br \/>if(sQuoteId == &#8220;null&#8221; || sQuoteId == &#8220;undefined&#8221; || sQuoteId == &#8220;&#8221;)sQuoteId = &#8220;0&#8221;;<br \/>\n<br \/>if(sQuoteId != &#8220;0&#8221;)<br \/>\n<br \/>{<br \/>\n<br \/>sQuoteQry = &#8221; Select * from Quotes (nolock) where quot_orderQuoteId = &#8216;&#8221;+sQuoteId+&#8221;&#8216; and quot_deleted is null &#8220;;<br \/>\n<br \/>ObjQuote = eWare.CreateQueryObj(sQuoteQry);<br \/>\n<br \/>ObjQuote.SelectSQL();<br \/>\n<br \/>if(!ObjQuote.eof)<br \/>\n<br \/>{<br \/>\n<br \/>sQuoteRef = new String(ObjQuote(&#8220;quot_reference&#8221;));<br \/>\n<br \/>}<br \/>\n<br \/>}<br \/>\n<br \/><\/fieldset>\n<p><\/div>\n<p><\/p>\n<div>The action required to redirect to standard Quote screen is 1469. Hence the URL is created and its maintained in a hidden field.<\/div>\n<p><\/p>\n<div>sQuoteUrl = eWare.URL(&#8220;1469&#8221;);<\/div>\n<p><\/p>\n<div>On onload we have added the hyperlink to the caption of a field. Refer this code that is added in custom content of the screen.<\/div>\n<p><\/p>\n<div>\n<br \/><b>\/\/Custom Content<\/b><br \/>\n<\/p>\n<fieldset>\n<\/p>\n<legend>Script<\/legend>\n<p>function DispQuote()<br \/>\n<br \/>{<br \/>\n<br \/>\tvar sUrl = &#8220;&#8221;;<br \/>\n<br \/>\tvar sQuote = &#8220;&#8221;;<br \/>\n<br \/>\tvar CommNoteHTML= &#8220;&#8221;;<br \/>\n<br \/>\t\/\/&#8217;Get Quote Url<br \/>\n<br \/>\tif(document.EntryForm.QuoteUrl)<br \/>\n<br \/>\t{<br \/>\n<br \/>\t\tsUrl = document.EntryForm.QuoteUrl.value;<br \/>\n<br \/>\t}<br \/>\n<br \/>\t\/\/&#8217;Get Quote Reference number<br \/>\n<br \/>\tif(document.EntryForm.sQuoteId)<br \/>\n<br \/>\t{<br \/>\n<br \/>\t\tsQuote =  document.EntryForm.sQuoteId.value;<br \/>\n<br \/>\t}<br \/>\n<br \/>\tCommNoteHTML = document.getElementById(&#8220;_captcomm_note&#8221;).innerHTML;<br \/>\n<br \/>\t\/\/&#8217;Append the href in a caption<br \/>\n<br \/>\tif(document.getElementById(&#8220;_captcomm_note&#8221;))<br \/>\n<br \/>\t{<br \/>\n<br \/>\t\tdocument.getElementById(&#8220;_captcomm_note&#8221;).innerHTML = CommNoteHTML+&#8221;  < A href=\" +sUrl+\" > &#8220;+sQuote+&#8221; < \/A > &#8220;;<br \/>\n<br \/>\t}<br \/>\n<br \/>}<br \/>\n<br \/><\/fieldset>\n<p><\/div>\n<p><\/p>\n<div>\n<br \/><marquee width=\"80%\"><b>If you find this content useful, please drop us an email at <a title=\"mailto:crm@greytrix.com\" href=\"mailto:crm@greytrix.com\">crm@greytrix.com<\/a>. <\/b><\/marquee><br \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In today\u2019s software world reducing number of clicks is an essential task. In CRM we can have communications against all the entities. How helpful it would be; if I can provide link to parent entity on communication screen itself? This way I can go from communication find screen and then also visit the relevant entity\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[711,1517,1865,2030,2031],"class_list":["post-352","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-communication","tag-link","tag-quotes","tag-sage-crm-7-0","tag-sage-crm-7-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Providing an Hyperlink to a related entity through Communication screen - Sage CRM \u2013 Tips, Tricks and Components<\/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:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Providing an Hyperlink to a related entity through Communication screen - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"In today\u2019s software world reducing number of clicks is an essential task. In CRM we can have communications against all the entities. How helpful it would be; if I can provide link to parent entity on communication screen itself? This way I can go from communication find screen and then also visit the relevant entity\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2011-08-20T05:49:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/\",\"name\":\"Providing an Hyperlink to a related entity through Communication screen - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG\",\"datePublished\":\"2011-08-20T05:49:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#primaryimage\",\"url\":\"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG\",\"contentUrl\":\"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Providing an Hyperlink to a related entity through Communication screen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Providing an Hyperlink to a related entity through Communication screen - Sage CRM \u2013 Tips, Tricks and Components","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:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/","og_locale":"en_US","og_type":"article","og_title":"Providing an Hyperlink to a related entity through Communication screen - Sage CRM \u2013 Tips, Tricks and Components","og_description":"In today\u2019s software world reducing number of clicks is an essential task. In CRM we can have communications against all the entities. How helpful it would be; if I can provide link to parent entity on communication screen itself? This way I can go from communication find screen and then also visit the relevant entity\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2011-08-20T05:49:00+00:00","og_image":[{"url":"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG","type":"","width":"","height":""}],"author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/","name":"Providing an Hyperlink to a related entity through Communication screen - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#primaryimage"},"thumbnailUrl":"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG","datePublished":"2011-08-20T05:49:00+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#primaryimage","url":"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG","contentUrl":"http:\/\/4.bp.blogspot.com\/-sbSvaMQx49I\/Tk9L6VDdh7I\/AAAAAAAABpY\/iFZr70b-PrI\/s800\/Image.JPG"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/08\/20\/providing-an-hyperlink-to-a-related-entity-through-communication-screen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Providing an Hyperlink to a related entity through Communication screen"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}