Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 9 years, 8 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

    application solution

    Popular Salesforce Blogs

    Salesforce Apex Coding

    Salesforce Apex Coding Best Practices | Developer Guide

    Blog in Salesforce Apex

    1. Thou Shalt Keep thy code dumb straightforward (KISS guideline) In programming advancement, applying the KISS guideline implies your code is kept perfect and succinct. …

    Apex Triggers, Applications, Approval Rules, Astro Cry, Best Practices
    MOHIT Apr 2, 2021
    11,996  Views
    salesforce url hacking

    Salesforce URL Hacking Button for Lightning Experience

    Blog in Lightning, Salesforce

    The Salesforce Lightning URL Hack is a strategy for making an extraordinary hyperlink or content and uncovering it by means of catch or recipe field.…

    API Field Name, Business Account Page Layout, Classic URL Hacks, Custom Action, Custom Actions
    Pooja May 7, 2020
    12,545  Views

    Detailed Guide to Implement Salesforce Multi-Factor Authentication (MFA)

    Blog in Salesforce Security

    Plan To Implement MFA Configuring Permission Set in Salesforce Login in to your Salesforce account On the setup page, search “Permission Set” Click the “New”…

    API, App Market, Configuring MFA in Salesforce, Connect Salesforce Authenticator, Implement MFA
    SP Feb 4, 2022
    2,786  Views

    Popular Salesforce Videos

    What is Billing - Salesforce Revenue Cloud

    What is Billing - Salesforce Revenue Cloud

    Video in Salesforce Cloud Platform

    How can you transform your billing system for subscription and usage models? By dropping your legacy systems and streamlining your processes. In this video, learn…

    Salesforce Training, Salesforce Video, Customers, Salesforce Learning, Subscription
    Jogender Jan 27, 2021
    2,231  Views
    Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

    Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

    Video in Lightning

    Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a  

    Salesforce Training Videos, Salesforce Lightning Components, How to Salesforce Lightning Component, Salesforce Video Tutorials, Salesforce Development Tutorial
    Shiv Kumar Sharma May 21, 2018
    1,979  Views
    What is Audit Trail in Salesforce?

    What is Audit Trail in Salesforce?

    Video in Salesforce Admin

    Audit Trails helps to track the recent setup changes that you and other administrators have made to your organization. Watch this video to learn about…

    Salesforce Training, Salesforce Tutorial, Salesforce Online Training, salesforce, Salesforce Video
    CRS Mar 24, 2022
    1,626  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.