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, 2 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

    The Benefits of Using Salesforce Nonprofit Cloud

    Blog in Others

    IT technologies satisfy almost all the needs of commercial organizations, but nonprofit organizations that work on outdated software are left unattended, unable to embrace new…

    Boost Efficiency, Case Management, Collaboration Tools, Compare Volunteer Skills, Data-Driven Fundraising
    Vimera | Andersen Dec 15, 2023
    1,941  Views
    bar charts in salesforce

    Bar Charts in Salesforce | Visualforce Developer Guide

    Blog in Others, Salesforce

    The bar chart is a linear data series chart accessible in Visualforce. The linear series chart is a chart plotted against a standard rectangular system.…

    Bar Charts, Custom Lookup Field, Dashboard, Opportunity Amount, Opportunity Type
    Shweta Aug 11, 2020
    7,524  Views

    Azhar Iqubal: The Visionary Entrepreneur Behind Inshorts and Public

    Blog in Others

    In the world of digital innovation, few names stand out as brightly as Azhar Iqubal. Known for co-founding two groundbreaking platforms, Inshorts and Public, Azhar…

    mtoag Aug 1, 2025
    123  Views

    Popular Salesforce Videos

    Google Home Assistant Integration with Salesforce

    Google Home Assistant Integration with Salesforce

    Video in Salesforce Integration

    Check out the below link for pdf view. https://www.linkedin.com/pulse/google-home-assistant-integration-salesforce-rajkiran-dewara/

    Salesforce Integration, salesforce, Salesforce Users, Google Home Assistant
    Rajkiran Jan 23, 2020
    4,387  Views
    Good Time To Buy Salesforce Stock? CRM Stock Analysis

    Good Time To Buy Salesforce Stock? CRM Stock Analysis

    Video in Others, Salesforce Stories

    CRM stock price is currently all over after reporting its SALESFORCE earnings report. I am considering if I should buy CRM Stock. This is a…

    salesforce knowledge, Salesforce Learning, Salesforce Stock, Salesforce Earnings Report, CRM Stock Analysis
    Neha Yadav Sep 2, 2020
    2,014  Views
    SALESFORCE LIGHTS: The Crown above San Francisco

    SALESFORCE LIGHTS: The Crown above San Francisco

    Video in News

    Visible by more than 20 miles away, Jim Campbell's massive LED art installation on the crown of the Salesforce Tower premiered last week. Situated above…

    San Francisco Events, Salesforce Video Wall, Salesforce Stories, Salesforce Tower, Jim Campbell
    Portia Jun 8, 2018
    1,546  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

    © 2025 - 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.