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 8 years, 1 month 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

    How to evaluate multiple condition in aura:if tag in salesforce Lightning?

    How to Evaluate Multiple Conditions in "aura:if" tag in Salesforce Lightning ?

    Blog in Coding and Scripting, Salesforce customization, Salesforce Tutorial

    aura: if tag - Aura:if tag renders the content either in its body or in the else attribute based on the value of the isTrue…

    AURA, aura:if, aura:if Tag, Implement Salesforce Lightning, Multiple Conditions
    Aman Apr 26, 2018
    19,025  Views
    Dreamforce 2023 Key Highlights

    Dreamforce 2023 Key Highlights | The Ultimate Guide

    Blog in Others

    On September 12, 2023, the realms of technology and business once again united for the year’s highly anticipated event – Dreamforce 2023. Over 40,000 individuals…

    Calculated Insight Object, Conversational AI Assistant, Customer-Centric Businesses, Data Cloud, Data Cloud Everywhere
    Kizzy Consulting Dec 13, 2023
    1,464  Views

    Revolutionizing Patient Care with Salesforce Healthcare Cloud

    Blog in Salesforce

    Introduction Technology is the riveting force behind changing health care in the modern world today. Salesforce Healthcare Cloud stands at the forefront of this revolution…

    Assessment and Planning, Care Team Communication, Cloud Computing, Current Systems Assessment, Data Insights
    TechForce Jul 22, 2024
    743  Views

    Popular Salesforce Videos

    Salesforce Business to Consumer (B2C) Solution Architecture

    Salesforce Business to Consumer (B2C) Solution Architecture

    Video in Salesforce Stories

    Salesforce Business to Consumer (B2C) Solution Architecture Introduction, 05 min -Case Study – A Retail Company Journey -A need for Multi-Cloud Solutions -Salesforce B2C Solution…

    Salesforce Training, Salesforce Video, Salesforce Learning, Salesforce Business, Company
    Prafull Jun 23, 2021
    1,664  Views
    Who Makes Those Awesome Explainer Videos from Salesforce?

    Who Makes Those Awesome Explainer Videos from Salesforce?

    Video in Others, Salesforce Stories

    Here's a short little video giving you a behind the scenes peek at the team that creates the explainer videos at Salesforce. Enjoy the video…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, Explainer Videos
    Neha Yadav Jun 26, 2020
    2,190  Views
    Introduction to Salesforce Commerce Cloud for Developers

    Introduction to Salesforce Commerce Cloud for Developers

    Video in Salesforce Cloud Platform

    Commerce Cloud powers e-commerce for many of the world's leading brands and it represents a great opportunity for developers around the world. Join us to…

    Salesforce Products, salesforce training videos for beginners, Salesforce Certification, Salesforce Commerce Cloud, Salesforce Commerce Cloud Tutorials
    Shiv Kumar Sharma Jan 17, 2018
    6,763  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.