{"id":13519,"date":"2016-11-30T07:32:51","date_gmt":"2016-11-30T07:32:51","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=13519"},"modified":"2016-11-30T07:32:51","modified_gmt":"2016-11-30T07:32:51","slug":"hide-unwanted-standard-fields-from-top-content-area-using-jquery","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/","title":{"rendered":"Hide Unwanted Standard fields from Top Content area Using jQuery"},"content":{"rendered":"<p style=\"text-align: justify;\">Hello Everyone! You all are familiar with the Top Content area of an entity in <a href=\"http:\/\/www.sagesoftware.co.in\/product-sage-crm\" target=\"_blank\" rel=\"noopener\">SAGE CRM<\/a>. It contains information with some standard fields like Company, Person, Phone, Opportunity, etc. In this blog will see how we can remove the opportunity details from top content area.<\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #993300;\"><em><strong>New Stuff:\u00a0<\/strong><\/em><span style=\"color: #000000;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/500-internal-server-error-with-crm-and-erp-integration\/\" target=\"_blank\">500 Internal server Error with CRM and ERP Integration<\/a><\/span><\/span><\/p>\n<p style=\"text-align: justify;\">As this was required by one of our clients where they don\u2019t want to display opportunity information on Quotes and Orders summary page as shown below. According to CRM functionality, all Opportunities whether created manually or auto created details are being displayed. So, using JQuery we can hide the Opportunity label and details available next to it.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-13520\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg\" alt=\"IMG001\" width=\"1019\" height=\"167\" \/><\/a><\/p>\n<p>Use below script in your Custom Page in the <strong>On Load<\/strong> Method.<br \/>\n<em>function OrderOnLoad()<\/em><br \/>\n<em>{<\/em><br \/>\n<em> if(document.getElementsByClassName(&#8220;TOPCAPTION&#8221;))<\/em><br \/>\n<em> {<\/em><br \/>\n<em> $(&#8216;.TOPCAPTION&#8217;).each(function()<\/em><br \/>\n<em> {<\/em><br \/>\n<em> if($(this).text()==&#8217;Opportunity:&#8217;)<\/em><br \/>\n<em> { <\/em><br \/>\n<em> $(this).hide();<\/em><br \/>\n<em> }<\/em><br \/>\n<em> });<\/em><br \/>\n<em> $(&#8216;.TOPSUBHEADING&#8217;).each(function()<\/em><br \/>\n<em> {<\/em><br \/>\n<em> var T1 =$(this).text()[0];<\/em><br \/>\n<em> var T2 =$(this).text()[1];<\/em><br \/>\n<em> var T3 =$(this).text()[2];<\/em><br \/>\n<em> var T4 =$(this).text()[3];<\/em><br \/>\n<em>if(T1==&#8221;A&#8221; &amp;&amp; T2==&#8221;u&#8221; &amp;&amp; T3==&#8221;t&#8221; &amp;&amp; T4==&#8221;o&#8221;)<\/em><br \/>\n<em> {<\/em><br \/>\n<em> $(this).hide();<\/em><br \/>\n<em> }<\/em><br \/>\n<em> });<\/em><br \/>\n<em> }<\/em><br \/>\n<em>}<\/em><br \/>\nThis script will help you to hide the Opportunity Field i.e. unwanted field from Top Content area as shown in below screenshot.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG002.jpg\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-13521\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG002-1024x161.jpg\" alt=\"IMG002\" width=\"595\" height=\"94\" \/><\/a><br \/>\nEnjoy Scripting\u2026!!<br \/>\n<span style=\"color: #993300;\"><em><strong>Also Read:<\/strong><\/em><\/span><br \/>\n<strong>1.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/02\/25\/modify-font-size-of-fields-added-in-entity-top-content-screen\/\" target=\"_blank\">Modify font size of fields added in Entity Top Content screen<\/a><br \/>\n<strong>2.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2011\/10\/29\/adding-extra-information-in-top-content\/\" target=\"_blank\">Adding Extra information in Top Content<\/a><br \/>\n<strong>3.<\/strong> <a 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<\/a><br \/>\n<strong>4.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/11\/customize-your-top-content\/\" target=\"_blank\">Customize your Top Content<\/a><br \/>\n<strong>5.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/03\/31\/display-company-information-in-an-opportunity-entity\/\" target=\"_blank\">Display Company Information in an Opportunity Entity<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Everyone! You all are familiar with the Top Content area of an entity in SAGE CRM. It contains information with some standard fields like Company, Person, Phone, Opportunity, etc. In this blog will see how we can remove the opportunity details from top content area. New Stuff:\u00a0500 Internal server Error with CRM and ERP\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/\">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,201,268,332,406,1],"tags":[1475,1912,1913,2118,2451,2459],"class_list":["post-13519","post","type-post","status-publish","format-standard","hentry","category-context","category-jquery","category-onchangescript","category-sage-crm","category-top-content-sage-crm","category-uncategorized","tag-jquery","tag-remove-fields-from-sage-crm-top-context","tag-remove-fields-from-top-content","tag-sage-crm-top-content","tag-to-context","tag-top-content"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hide Unwanted Standard fields from Top Content area Using jQuery - 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\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hide Unwanted Standard fields from Top Content area Using jQuery - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"Hello Everyone! You all are familiar with the Top Content area of an entity in SAGE CRM. It contains information with some standard fields like Company, Person, Phone, Opportunity, etc. In this blog will see how we can remove the opportunity details from top content area. New Stuff:\u00a0500 Internal server Error with CRM and ERP\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-30T07:32:51+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.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\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/\",\"name\":\"Hide Unwanted Standard fields from Top Content area Using jQuery - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg\",\"datePublished\":\"2016-11-30T07:32:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#primaryimage\",\"url\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg\",\"contentUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hide Unwanted Standard fields from Top Content area Using jQuery\"}]},{\"@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":"Hide Unwanted Standard fields from Top Content area Using jQuery - 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\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/","og_locale":"en_US","og_type":"article","og_title":"Hide Unwanted Standard fields from Top Content area Using jQuery - Sage CRM \u2013 Tips, Tricks and Components","og_description":"Hello Everyone! You all are familiar with the Top Content area of an entity in SAGE CRM. It contains information with some standard fields like Company, Person, Phone, Opportunity, etc. In this blog will see how we can remove the opportunity details from top content area. New Stuff:\u00a0500 Internal server Error with CRM and ERP\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2016-11-30T07:32:51+00:00","og_image":[{"url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.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\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/","name":"Hide Unwanted Standard fields from Top Content area Using jQuery - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#primaryimage"},"thumbnailUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg","datePublished":"2016-11-30T07:32:51+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#primaryimage","url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg","contentUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2016\/11\/IMG001.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2016\/11\/30\/hide-unwanted-standard-fields-from-top-content-area-using-jquery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Hide Unwanted Standard fields from Top Content area Using jQuery"}]},{"@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\/13519","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=13519"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/13519\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=13519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=13519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=13519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}