Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Is it possible to remove/hide the “New” button?

    Tagged: Home Page Component, Javascript, JQuery, New Button, Sandbox, User Profile

    • Salesforce® Discussions

      Is it possible to remove/hide the “New” button?

      Posted by Ravi on April 30, 2016 at 6:14 PM

      Is it possible to remove/hide the “New” button?

      Ajit replied 10 years, 4 months ago 2 Members · 1 Reply
      • Home Page Component
      • Javascript
      • JQuery
      • New Button
      • Sandbox
      • User Profile
    • 1 Reply
    • Ajit

      Member
      April 30, 2016 at 6:21 PM

      We use homepage components which analyse the page, and use javascript to remove/add buttons where we have no other choice to do so. But this implies developing with a high dependency on the salesforce html output .. which is not guaranteed to stay unchanged, this is something to strongly consider if you would explore this approach.

      Why do you want to remove the new button ? If there are groups of users who should not make opportunities, you may want to restrict them access through their profile.

      update: For instance, using jquery:

      if (document.location.href.toString().indexOf("/a49/o") != -1) {
      $('input[name=new]').hide();
      }

      You would need to update the Id when migrating code between sandboxes/organisations

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Apex Trigger in Salesforce

    All About Apex Trigger in Salesforce | Learn How to Create a Trigger

    Blog in Salesforce Apex

    Trigger is a piece of code which executes or fired whenever a record is created, edited or deleted. It’s a concept of automation processes and…

    Apex Trigger, Application Interface, Automation process, Before Trigger, Bulk Trigger
    Alok Raj Oct 7, 2022
    2,939  Views

    How to use fieldset in Salesforce Visualforce pages?

    Blog in Visualforce

    Fieldset: A fieldset is a grouping of fields. When a fieldset is added to a Visualforce page, developers can loop over its fields and render…

    FieldSet in Salesforce, Salesforce Content Object, Salesforce Objects, Salesforce Visualforce Pages, Visualforce page
    Aman May 23, 2018
    19,476  Views
    How to insert sobjects records using Visualforce remote objects?

    How to insert sObjects records using Visualforce Remote Objects ?

    Blog in Visualforce

    Visualforce Remote Objects: Visualforce Remote Objects are proxy objects that enable basic DML operations on sObjects directly from JavaScript. Remote objects don't require @RemoteAction methods…

    insert sObject, Multiple Records, records, Remote Objects, Salesforce Data Insertion
    Aman May 31, 2018
    8,139  Views

    Popular Salesforce Videos

    Build a Simple Screen Flow with Salesforce Flow Builder

    Build a Simple Screen Flow with Salesforce Flow Builder

    Video in Others, Salesforce Stories, Salesforce Training

    Did you know that you can build interactive custom components without any code? Flow Builder is a powerful tool for automation and for giving Admins…

    Salesforce Training, Salesforce Flow, Salesforce Admin, Salesforce Video, Admins
    Nauman Jun 16, 2020
    1,984  Views
    How To Reset Salesforce Security Token?

    How To Reset Salesforce Security Token?

    Video in Salesforce Security

    Salesforce security token is a case-sensitive unique key that is used to work with Salesforce API. In this video I will show you how to…

    Salesforce Development, Salesforce Security, Salesforce Developer, Security And Access, Force.com Tutorial
    Pooja Oct 8, 2016
    2,055  Views
    Salesforce Security and Sharing Model Demystified

    Salesforce Security and Sharing Model Demystified

    Video in Salesforce Security

    The Salesforce Sharing and Security Model has undergone numerous enhancements and offers many features to help you configure it to meet the privacy requirements your…

    Salesforce Security, Salesforce Sales Cloud, Salesforce Service Cloud, Salesforce Developer, Salesforce Apps
    Prafull Mar 22, 2018
    2,143  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.