Hide New button in Sage CRM using jQuery

By | July 26, 2017

By far we all know, Sage CRM is used to capture and manage Business’s Sales and Service data along with the proper linking/management with respective Customers. Entities such as Case, Lead, Opportunity, Quotes and Orders etc. helps in recording Sales and Service data in system. Users can capture the data in these entities using the New button available at top right hand side corner as shown below.

New Stuff: Hide … (Ellipses) Tab from Tab Group in Sage CRM
Recently we came across a requirement, where the data which is being entered in the system needs to be done from Company context only to ensure the proper Company linking. For this we have to hide the New button. To achieve the same we followed below steps.

  1. Created a JavaScript file with below mentioned code in “<CRM Installation Path> \WWWRoot\js\custom\” folder.
    crm.ready(function()
    {
    HideNewOption();
    });
    function HideNewOption()
    {
    if ($(‘#er_new’).length==1)
    $(‘#er_new’).hide();
    }
  2. Login into CRM.
  3. Go to Administration -> System -> Metadata.
  4. Check Refresh All checkbox and click on Execute Refresh button.
    Navigate to any screen in CRM, you can see that New button on the top right corner is now unseen.

About Us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix has some unique integration solutions for Sage CRM with Sage ERPs (Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100Sage 500 and Sage 300).We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migrating of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature and Sage CRM CTI Framework.

Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – Sage CRM integration also listed on Sage Marketplace.

For more information on our integration solutions, please contact us at [email protected]. We will be glad to assist you.