{"id":8514,"date":"2014-08-27T08:30:32","date_gmt":"2014-08-27T08:30:32","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=8514"},"modified":"2014-08-27T08:30:32","modified_gmt":"2014-08-27T08:30:32","slug":"additional-information-in-entity-top-content-screens-sage-crm-v7-2","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/","title":{"rendered":"Additional Information in Entity Top Content Screens &#8211; Sage CRM v7.2"},"content":{"rendered":"<p>Entity Top Content screens in Sage CRM are used to give quick overview of an entity without actually having to scroll down all the way on Summary screens. \u00a0These Top Content screens can be further customized to add eye-catching information in the Top Content screen using client side SDK introduced in Sage CRM v7.2.<br \/>\n<span style=\"color: #993300;\"><strong><em>New Stuff: <\/em><\/strong><\/span><a title=\"Add Print Button to Print Entity information in Sage CRM v7.2\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/add-print-button-to-print-entity-information-in-sage-crm-v7-2\/\" target=\"_blank\">Add Print Button to Print Entity information in Sage CRM v7.2<\/a><br \/>\nLet\u2019s consider one example where user wants to show information in the <strong>Top Content<\/strong> screen based on the Status of an Opportunity. If Opportunity Status is <strong>In Progress,<\/strong> then the information should be in Blue color in the Opportunity context and if Opportunity is <strong>Lost,<\/strong> then the information should be in Red color. Here are the steps that you need to follow.<br \/>\n1) Login to\u00a0Sage CRM.<br \/>\n2) Navigate to below path.<br \/>\n<strong>Administration | Customization | Opportunity<\/strong>.<br \/>\n3) Navigate to <strong>Screens<\/strong> tab and click on the Opportunity Top Content screen.<br \/>\n4) Copy and Paste below code into the <strong>Custom Content<\/strong> section of screen.<br \/>\n&lt;script&gt;<br \/>\ncrm.ready(function ()<br \/>\n{<br \/>\nvar strClassName = &#8220;&#8221;;<br \/>\nvar strMessage = &#8220;&#8221;;<br \/>\nif(crm.fields(&#8220;oppo_status&#8221;).value()==&#8221;In Progress&#8221;)<br \/>\n{<br \/>\nstrClassName += &#8220;InfoContent&#8221;;<br \/>\nstrMessage += &#8220;Opportunity is in progress.&#8221;;<br \/>\n}<br \/>\nelse if(crm.fields(&#8220;oppo_status&#8221;).value()==&#8221;Lost&#8221;)<br \/>\n{<br \/>\nstrClassName = &#8220;ErrorContent&#8221;;<br \/>\nstrMessage += &#8220;Opportunity is Lost.&#8221;;<br \/>\n}<br \/>\nvar myOutPut = &#8220;&lt;table border=0&gt;&lt;tbody&gt;&#8221;<br \/>\nmyOutPut += &#8220;&lt;tr&gt;&lt;td class='&#8221;+strClassName+&#8221;&#8216;&gt;&#8221;+strMessage+&#8221;&lt;\/td&gt;&lt;\/tr&gt;&#8221;<br \/>\nmyOutPut += &#8220;&lt;\/tbody&gt;&lt;\/table&gt;&#8221;;<br \/>\nvar x = $(&#8220;#EWARE_TOP&#8221;).children();<br \/>\nvar y = $(x).children();<br \/>\nvar z = $(y).children();<br \/>\nvar a = $(z).children(&#8220;td:last&#8221;);<br \/>\na.after(myOutPut);<br \/>\n})<br \/>\n&lt;\/script&gt;<br \/>\n5) Click on <strong>Save<\/strong> button.<br \/>\nOnce done, navigate to an opportunity which is <strong>In Progress<\/strong> and you will see that the Top Content screen shows the information in Blue color at the Right Hand side of screen as shown below.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-8526\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg\" alt=\"In Progress\" width=\"595\" height=\"271\" \/><\/a><br \/>\nIf the Opportunity is <strong>Lost,<\/strong> then the Top Content screen shows the information in Red color at the Right Hand side of screen as shown below.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Lost.jpg\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-8516\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Lost-1024x477.jpg\" alt=\"Lost\" width=\"595\" height=\"277\" \/><\/a><br \/>\nYou can apply above code to any other entities based on different conditions. Happy scripting \ud83d\ude42<br \/>\n<strong><span style=\"color: #993300;\">Also Read:<\/span><br \/>\n<\/strong>1)\u00a0<a title=\"Displaying a Popup window in Sage CRM 7.2 without Menu button and Top Content section\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2013\/10\/31\/displaying-a-popup-window-in-sage-crm-7-2-without-menu-button-and-top-content-section\/\" target=\"_blank\">Displaying a Popup window in Sage CRM 7.2 without Menu button and Top Content section<br \/>\n<\/a>2) <a title=\"Adding Extra information in Top Content\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/10\/29\/adding-extra-information-in-top-content\/\" target=\"_blank\">Adding Extra information in Top Content<br \/>\n<\/a>3) <a title=\"Customize your Top Content\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/11\/customize-your-top-content\/\" target=\"_blank\">Customize your Top Content<br \/>\n<\/a>4) <a title=\"Live world clock in Company Top Content\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2008\/11\/15\/live-world-clock-in-company-top-content\/\" target=\"_blank\">Live world clock in Company Top Content<br \/>\n<\/a>5) <a title=\"HIde Fields from Top Content Screen\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2008\/11\/10\/hide-fields-from-top-content-screen\/\" target=\"_blank\">Hide Fields from Top Content Screen<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Entity Top Content screens in Sage CRM are used to give quick overview of an entity without actually having to scroll down all the way on Summary screens. \u00a0These Top Content screens can be further customized to add eye-catching information in the Top Content screen using client side SDK introduced in Sage CRM v7.2. New\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77,85,155,189,200,202,204,406],"tags":[833,1143,1425,1471,1475,1477,2010,2030,2031,2033],"class_list":["post-8514","post","type-post","status-publish","format-standard","hentry","category-context","category-cross-browser","category-fields","category-information","category-javascript-sage-crm","category-jquey","category-js-file","category-top-content-sage-crm","tag-crm7-0","tag-fields","tag-information","tag-javascript","tag-jquery","tag-js-file","tag-sage-crm","tag-sage-crm-7-0","tag-sage-crm-7-1","tag-sage-crm-7-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Additional Information in Entity Top Content Screens - Sage CRM v7.2 - 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\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Additional Information in Entity Top Content Screens - Sage CRM v7.2 - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"Entity Top Content screens in Sage CRM are used to give quick overview of an entity without actually having to scroll down all the way on Summary screens. \u00a0These Top Content screens can be further customized to add eye-catching information in the Top Content screen using client side SDK introduced in Sage CRM v7.2. New\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-27T08:30:32+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/\",\"name\":\"Additional Information in Entity Top Content Screens - Sage CRM v7.2 - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg\",\"datePublished\":\"2014-08-27T08:30:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#primaryimage\",\"url\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg\",\"contentUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Additional Information in Entity Top Content Screens &#8211; Sage CRM v7.2\"}]},{\"@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":"Additional Information in Entity Top Content Screens - Sage CRM v7.2 - 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\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/","og_locale":"en_US","og_type":"article","og_title":"Additional Information in Entity Top Content Screens - Sage CRM v7.2 - Sage CRM \u2013 Tips, Tricks and Components","og_description":"Entity Top Content screens in Sage CRM are used to give quick overview of an entity without actually having to scroll down all the way on Summary screens. \u00a0These Top Content screens can be further customized to add eye-catching information in the Top Content screen using client side SDK introduced in Sage CRM v7.2. New\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2014-08-27T08:30:32+00:00","og_image":[{"url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg","type":"","width":"","height":""}],"author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/","name":"Additional Information in Entity Top Content Screens - Sage CRM v7.2 - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#primaryimage"},"thumbnailUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg","datePublished":"2014-08-27T08:30:32+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#primaryimage","url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg","contentUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/In-Progress-1024x468.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/27\/additional-information-in-entity-top-content-screens-sage-crm-v7-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Additional Information in Entity Top Content Screens &#8211; Sage CRM v7.2"}]},{"@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\/8514","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=8514"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/8514\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=8514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=8514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=8514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}