{"id":15118,"date":"2017-10-26T06:49:57","date_gmt":"2017-10-26T06:49:57","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=15118"},"modified":"2022-11-04T10:25:24","modified_gmt":"2022-11-04T10:25:24","slug":"control-access-rights-of-entity-tabs-in-sage-crm","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/","title":{"rendered":"Control Access Rights of Entity tabs in Sage CRM"},"content":{"rendered":"<p><a href=\"http:\/\/www.sagesoftware.co.in\/product-sage-crm\" target=\"_blank\" rel=\"noopener\">Sage CRM<\/a> has a complex and sophisticated Security mechanism implemented as automatic alteration of the SQL used to fetch either the application data to the screen or the metadata that controls the availability of features. One such feature is related to the various Entity Tabs which displays the List or Screens for Users. Since not every entity has provision like Company entity\u2019s Company Team tab which allows you to control access rights, below is the post of how you can control access rights for multiple Users.<br \/>\n<span style=\"color: #993300;\"><em><strong>New Stuff: <\/strong><\/em><\/span>\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/16\/display-entitys-record-id-on-screens-in-sage-crm\/\" target=\"_blank\" rel=\"noopener\">Display Entity\u2019s Record Id on Screens in Sage CRM<\/a><br \/>\nYou can hide the tab by writing SQL condition as per your need. For example, if you want hide the <strong>Case<\/strong> tab of Company entity record for two or three users, then in the SQL field write the SQL condition as shown in below steps:<br \/>\n<strong>1.<\/strong> Go to <strong>Administration -&gt; Company -&gt; Tabs<\/strong><br \/>\n<strong>2.<\/strong> Select <strong>Case<\/strong> tab option and in the SQL clause, write the SQL condition and click on Update button then save.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-15120\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg\" alt=\"\" width=\"929\" height=\"239\" \/><\/a><br \/>\nThis will hide the tab based on SQL condition given in SQL field. But what if you want to hide the tab for N number of users, then you need to add all the user\u2019s Id in SQL Condition. Which seems bit time consuming as well as requires execution of SQL query in order to get the User ids.<br \/>\nSo here we came up with the solution of hiding tab for specific user based on a single field value. To achieve this follow below steps &#8211;<br \/>\n<strong>1.<\/strong> Create a checkbox field and add the same on the User summary screen, i.e. <em><strong>user_HideTab<\/strong><\/em><br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img2-1.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-15121\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img2-1.jpg\" alt=\"\" width=\"165\" height=\"95\" \/><\/a><br \/>\n<strong>2.<\/strong> Now, Admin user can provide the Tab control access rights by toggling this field value.<br \/>\n<strong>3.<\/strong> Now go to <strong>Administration -&gt; Company -&gt; Tabs<\/strong>. Select the <strong>Case<\/strong> tab and add the SQL condition i.e. <em><strong>user_HideTab is null<\/strong><\/em>. As shown in below screen.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img3.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-15122\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img3.jpg\" alt=\"\" width=\"430\" height=\"309\" \/><\/a><br \/>\nThus whenever the Admin user checks the checkbox for any particular User then the tab will be hidden for that user.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sage CRM has a complex and sophisticated Security mechanism implemented as automatic alteration of the SQL used to fetch either the application data to the screen or the metadata that controls the availability of features. One such feature is related to the various Entity Tabs which displays the List or Screens for Users. Since not\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/\">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":[19,53,55,71,332,342,380,391],"tags":[669,761,1078,1323,1338,1339],"class_list":["post-15118","post","type-post","status-publish","format-standard","hentry","category-administrator","category-cases","category-checkboxes","category-company","category-sage-crm","category-sage-crm7-3","category-sql","category-tab","tag-checkbox-on-user-level-to-hide-tabs","tag-control-access-rights-of-entity-tabs-in-sage-crm","tag-entity-tabs","tag-hide-entity-tabs-in-sage-crm","tag-hide-tabs-based-on-sql-condition","tag-hide-tabs-in-sage-crm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Control Access Rights of Entity tabs in Sage CRM - 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\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Control Access Rights of Entity tabs in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"Sage CRM has a complex and sophisticated Security mechanism implemented as automatic alteration of the SQL used to fetch either the application data to the screen or the metadata that controls the availability of features. One such feature is related to the various Entity Tabs which displays the List or Screens for Users. Since not\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-26T06:49:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-04T10:25:24+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.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\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/\",\"name\":\"Control Access Rights of Entity tabs in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg\",\"datePublished\":\"2017-10-26T06:49:57+00:00\",\"dateModified\":\"2022-11-04T10:25:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#primaryimage\",\"url\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg\",\"contentUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Control Access Rights of Entity tabs in Sage CRM\"}]},{\"@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":"Control Access Rights of Entity tabs in Sage CRM - 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\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/","og_locale":"en_US","og_type":"article","og_title":"Control Access Rights of Entity tabs in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","og_description":"Sage CRM has a complex and sophisticated Security mechanism implemented as automatic alteration of the SQL used to fetch either the application data to the screen or the metadata that controls the availability of features. One such feature is related to the various Entity Tabs which displays the List or Screens for Users. Since not\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2017-10-26T06:49:57+00:00","article_modified_time":"2022-11-04T10:25:24+00:00","og_image":[{"url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.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\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/","name":"Control Access Rights of Entity tabs in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#primaryimage"},"thumbnailUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg","datePublished":"2017-10-26T06:49:57+00:00","dateModified":"2022-11-04T10:25:24+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#primaryimage","url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg","contentUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2017\/10\/Img1-1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/10\/26\/control-access-rights-of-entity-tabs-in-sage-crm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Control Access Rights of Entity tabs in Sage CRM"}]},{"@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\/15118","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=15118"}],"version-history":[{"count":1,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/15118\/revisions"}],"predecessor-version":[{"id":26746,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/15118\/revisions\/26746"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=15118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=15118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=15118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}