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 › 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, 4 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.

    • 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

    application solution

    Popular Salesforce Blogs

    [ Part - 2 ] Get Salesforce record data into your Google Sheet through G-Connector

    Get Salesforce record data into your Google Sheet through G-Connector - Part 2

    Blog in Salesforce integration

    Hello All, In my last blog, I shared with you all the required steps to install and configure G-connector for Salesforce. Now I am going to…

    Enabler4Sheets, G-Connector, G-Connector for Salesforce, Google G-Connector, Google Sheet
    PRANAV May 29, 2018
    10,139  Views
    Salesforce Wave

    Salesforce Wave: The New Salesforce Analytics Platform

    Blog in Analytics, Salesforce

    For those who missed the Dreamforce keynotes or the highlights of the marketing and promotional campaigns by Salesforce teams, here is a quick one-line summary…

    CRM Product, Dashboard Customizations, Dreamforce, Mobile First Platform, NoSQL
    Algoworks Oct 27, 2017
    5,585  Views
    Screen Flow in Salesforce

    Introducing Screen Flow in Salesforce

    Blog in Salesforce

    In this Blog, we will learn about Screen Flows. As we all know, flow is an automation tool provided by Salesforce which can be used…

    Automation Tool, Custom Aura Components, Custom Lightning Web Components, Custom Notification, Field Type
    bhawana Nov 10, 2022
    2,259  Views

    Popular Salesforce Videos

    Salesforce Trailblazer Answers Leaders on YouTube

    Salesforce Trailblazer Answers Leaders on YouTube

    Video in Trailhead

    At Salesforce we’re using the power of our Trailblazer Community with Slack Connect to scale self-help content creation. Watch this short video to learn how…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Jogender May 20, 2022
    4,511  Views
    How to Use Product Rules with Salesforce CPQ

    How to Use Product Rules with Salesforce CPQ

    Video in Salesforce Products

    In this demo video, you'll learn about the three most popular types of product rules for CPQ: validation, alert, and selection. You'll also see how…

    Salesforce CPQ, CPQ, Salesforce VIdeos, Product Rules, validation
    Pooja Mar 20, 2020
    1,799  Views
    How to Set Up a Journey in Journey Builder

    How to Set Up a Journey in Journey Builder

    Video in Salesforce Training

    Learn to build a customer journey with guidance from our experts. This video provides an overview of Journey Builder features and best practices. Get expert…

    Salesforce Training, Salesforce Tutorial, Salesforce Video, Salesforce Learning, Best Practices
    Prafull Sep 22, 2021
    1,769  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.