• Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce Consultants
      • Marketing Cloud Consultants
      • Service Cloud Consultants
      • Experience Cloud Consultants
      • Analytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud Consultants
      • Financial Service Cloud Consultants
      • Health Cloud Consultants
      • Commerce Cloud Consultants
      • Manufacturing Cloud Consultants
  • Jobs
  • Marketplace
  • Stories
  • Top Bloggers 2022
  • Advertise With Us
  • Quizzes
  • Discussions
  • Groups
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce Consultants
        • Marketing Cloud Consultants
        • Service Cloud Consultants
        • Experience Cloud Consultants
        • Analytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud Consultants
        • Financial Service Cloud Consultants
        • Health Cloud Consultants
        • Commerce Cloud Consultants
        • Manufacturing Cloud Consultants
    • Jobs
    • Marketplace
    • Stories
    • Top Bloggers 2022
    • Advertise With Us
    • Quizzes
    • Discussions
    • Groups

    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 4 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

    Reply

    Subscribe

    airslate

    SALESFORCE PRODUCT EXPERTISE

    • Top Salesforce Consultants
    • Top Salesforce Experience Cloud Consultants
    • Top Salesforce Analytics Cloud Consultants
    • Top Salesforce Service Cloud Consultants
    • Top Salesforce Marketing Cloud Consultants

    SALESFORCE INDUSTRY EXPERTISE

    • Top Salesforce Consultants
    • Top Salesforce Manufacturing Cloud Consultants
    • Top Salesforce Non-Profit Cloud Consultants
    • Top Salesforce Health Cloud Consultants
    • Top Salesforce Financial Service Cloud Consultants
    • Top Salesforce Commerce Cloud Consultants

    Popular Salesforce Blogs

    RemoteAction Annotation

    RemoteAction Annotation In Apex | Salesforce Apex Developer Guide

    Blog in Salesforce Apex, Visualforce

    Annotations: An Apex annotation, like a Java annotation, modifies how a method or class is used. Annotations begin with a @ symbol and are followed…

    Annotations, Apex, Apex Annotation, Apex Class, Apex Methods
    Parvez Alam Nov 15, 2022
    1,141  Views

    Guided Selling and Complex Billing in Manufacturing with Salesforce

    Blog in Salesforce

    For a manufacturing company, preparing professional and accurate quotes is just as important as other operations. It may sound easy, but as the number of…

    Administrative Tasks, Applications, Automated Performance, Automated Quotations, Automated Reporting
    360 Degree Dec 17, 2021
    2,169  Views

    Better Data Quality in Salesforce Helps Decision Making

    Blog in Data, Salesforce Products, Salesforce Tools

    Ensuring the data in your Salesforce environment is accurate and up to date is a challenge for every organisation. To be able to make important…

    AppExchange, Data Capture, Data Cleaning, Data Entry, Data Quality
    KeyNode Oct 16, 2018
    7,549  Views

    Popular Salesforce Videos

    Journey To A Salesforce Solution Architect

    Journey To A Salesforce Solution Architect

    Video in Salesforce Training

    A Salesforce Solution Architect must master a number of skills to be able to solve complex business requirements. In this session, we will cover 10…

    Salesforce Training, Salesforce Tutorial, Salesforce Video, Salesforce Learning, Business Requirements
    Rupal Kakkar Jul 8, 2021
    806  Views
    Topics to Master to Crack Your Salesforce​ Administrator Certification Exam

    Topics to Master to Crack Your Salesforce​ Administrator Certification Exam

    Video in Salesforce Certifications

    If you're preparing for your Salesforce​ Administrator Certification and wondering there's a lot that you need to cover from the study material provided by Salesforce.…

    Salesforce Training, Salesforce Certification, Salesforce Administrator, salesforce, Salesforce Video
    Jogender Jan 28, 2021
    1,163  Views
    How to Find More Prospects, Win More Deals, and Keep Customer Happy with Salesforce Essentials

    How to Find More Prospects, Win More Deals, and Keep Customer Happy with Salesforce Essentials

    Video in Salesforce Stories

    Watch this video to learn how to minimize busy work and empower your sales and support teams to spend more time closing deals and engaging…

    salesforce, Salesforce Video, Salesforce Essentials, Happy Customers, Customer Information
    Rupal Kakkar Apr 15, 2020
    608  Views
    Footer Forcetalks logo

    [email protected]

    Forcetalks Android App
    Forcetalks IOS App

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2022

    Top Salesforce® Bloggers 2021

    Tips to choose Best Salesforce® Consulting Company

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    Submissions

    Write a Blog

    Start a New Discussion

    Post a Video

    Post an Infographic

    © 2023 - 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®.

    Forum Description

    Report

    There was a problem reporting this post.

    Harassment or bullying behavior
    Harassment or bullying behavior
    Contains mature or sensitive content
    Contains misleading or false information
    Mobile App Reported Contents
    Contains abusive or derogatory content
    Contains spam, fake content or potential malware

    Block Member?

    Please confirm you want to block this member.

    You will no longer be able to:

    • See blocked member's posts
    • Mention this member in posts
    • Invite this member to groups
    • Message this member
    • Add this member as a connection

    Please note: This action will also remove this member from your connections and send a report to the site admin. Please allow a few minutes for this process to complete.

    Report

    You have already reported this .
    Clear Clear All
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.