Control Column Visibility in SageCRM.com using Client Side API

By | March 31, 2015

SageCRM.com can be customized using Client Side API. In our earlier post, we had explained how to Control Visibility of Columns in Sage CRM Desktop on-premise version. Here is the link.
Control Column Visibility in Sage CRM Grids and Lists
New Stuff: Set Default Type on Export Screens
In this blog, we will explain you how it can achieved in SageCRM.com using a Sage CRM Client Side API. Consider an example, you need to Control Visibility of Assigned To Column into Team CRM Opportunities List such that if Logged in user is Admin then only show the Assigned To Column and remove it for the rest of the Non-admin users.
Oppo1
To do the same, one just needs to follow below instructions.
1) Navigate to Administration | Customization | Opportunities.
2) Select Lists tab and select Opportunities List from the list.
3) Select ‘Territory/Region’ column from Opportunities List and add the below lines of code in the Custom Content section.
<script>
crm.ready(function ()
{
crm.grids().hideColumn(“oppo_secterr”);
});
</script>
4) Click on Save button.
You can modify above code such that Territory field will not be visible to other users.
Oppo2

User can easily secure important data from other users and apply security throughout Sage CRM.
Also Read:
1) Get Active tab through Client side scripting
2) Add Print Button to Print Entity information in Sage CRM v7.2
3) Information and Error Message feature in Sage CRM v7.2
4) Avoid scrolling with Collapse Screen Feature in Sage CRM7.2
5) Display Background Color on Required Fields in Sage CRM v7.2
 

One thought on “Control Column Visibility in SageCRM.com using Client Side API

  1. Pingback: baccarat สด ในคาสิโน และ บาคาร่าออนไลน์ แตกต่างกันอย่างไร ?

Comments are closed.