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 › Can you edit an apex trigger/ apex class and Visualforce pages in production environment?

    Tagged: Apache ANT in Salesforce, Enterprise Edition, Force.com IDE, Metadata API in Salesforce, Salesforce Apex Class, Salesforce Apex Trigger, Salesforce CRM, Salesforce Visualforce Page, Sandbox Org, Unlimited Edition

    • Salesforce® Discussions

      Can you edit an apex trigger/ apex class and Visualforce pages in production environment?

      Posted by Aman on September 22, 2018 at 10:19 AM

      Can you edit an apex trigger/ apex class and Visualforce pages in production environment?

      Parul replied 7 years, 11 months ago 3 Members · 2 Replies
      • Apache ANT in Salesforce
      • Enterprise Edition
      • Force.com IDE
      • Metadata API in Salesforce
      • Salesforce Apex Class
      • Salesforce Apex Trigger
      • Salesforce CRM
      • Salesforce Visualforce Page
      • Sandbox Org
      • Unlimited Edition
    • 2 Replies
    • shariq

      Member
      September 22, 2018 at 10:19 AM

      No, it is not possible to edit apex classes and triggers directly in production environment.

      It needs to be done first in Developer edition or testing org or in Sandbox org. Then, to deploy it in production, a user with Author Apex permission must deploy the triggers and classes using deployment tools.

      However, Visualforce pages can be created and edited in both sandbox and in production.

      Only if the page has to do something unique (different values), it would have to be developed via Sandbox.

    • [adinserter block='9']
    • Parul

      Member
      September 22, 2018 at 12:34 PM

      Only Developer Edition, Sandbox, and Trial organizations have the ability to create, edit, and delete Apex classes and triggers directly in the Salesforce CRM user interface. Unlimited Edition and Enterprise Edition production organizations can execute Apex and can view Apex in the user interface, but modifying Apex in the user interface is not allowed.

       

      The Apex classes and triggers should first be written in a Developer Edition, Sandbox, or Trial organization along with the appropriate test methods that test at least 1% of triggers and 75% of classes. To deploy Apex into a production organization, a user with the Author Apex permission must deploy the triggers and classes using either the compileAndTest() or deploy() Metadata API methods which can be accessed with either the Apex Development Tool based on Apache ANT or the Force.com IDE based on Eclipse.

    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

    Continuous Integration and Deployment for Salesforce

    Blog in Salesforce

    Salesforce continues to be at the core of business operations for companies large and small around the world. It is an incredibly powerful tool, but…

    Build Trigger Type, Business Customers, Business Operations, CI Triggers, CI/CD Solution
    Flexagon Apr 8, 2022
    3,480  Views

    5 Benefits of Automation with MuleSoft | Salesforce

    Blog in Salesforce Ecosystem

    The benefits of bringing DevOps tools into your IT Organization are many and well documented. Regardless of the technologies in play, continuous delivery and release automation help teams deliver higher…

    API Management Platform, Application, Automation with MuleSoft, Azure Key Vault, Cloud Implementations
    Flexagon May 11, 2022
    1,997  Views
    Computer Telephony Integration

    Introduction of Call Center Computer Telephony Integration | Salesforce Guide

    Blog in Salesforce integration

    In this blog, we are going to discuss call center integration. Computer Telephony Integration with Salesforce. CTI, or Computer Telephony Integration, is the practice of…

    App Launcher, App Manager, AppExchange Package, Call Center, Call Center Definition
    Shweta May 19, 2021
    5,000  Views

    Popular Salesforce Videos

    How to Establish a Many to Many Relationship in Salesforce?

    How to Establish a Many to Many Relationship in Salesforce?

    Video in Salesforce Implementation, Salesforce Training

    You can use master-detail relationships to model many-to-many relationships between any two objects. A many-to-many relationship allows each record of one object to be linked…

    Salesforce Beginner Tutorial, Salesforce Tutorial for Beginners, Salesforce Records, Salesforce Customization, Salesforce Custom Objects
    Nauman Feb 13, 2018
    1,990  Views
    How to Reference Custom Metadata Types to Optimize Salesforce Account Records Using Salesforce Flow

    How to Reference Custom Metadata Types to Optimize Salesforce Account Records Using Salesforce Flow

    Video in Salesforce Training

    Salesforce Account Region Allocation using Custom Metadata Types and Salesforce Flow This video walks through an example of how you can reference Custom metadata Types…

    Salesforce Training, salesforce, Salesforce Flow, Salesforce Video, Salesforce Learning
    Rupal Kakkar Jul 14, 2021
    16  Views
    Salesforce Salaries In Current Market?

    Salesforce Salaries In Current Market?

    Video in Salesforce Development

    Wondering about the Salesforce salaries in the current market. Join this useful group for Salesforce job & career info and learn all about the Salesforce…

    Salesforce Training, Salesforce Tutorial, Salesforce Jobs, Salesforce Developer, salesforce
    Intelogik Nov 7, 2022
    1,653  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.