Can you edit an apex trigger/ apex class in a production environment?



Can you edit an apex trigger/ apex class in a production environment?..

Answer / Pratibha Nandan

No, Apex triggers and classes cannot be edited directly in the production environment. To make changes to Apex code in production, you must first test the new code in a sandbox, and then deploy the changes using Change Sets or Metadata API/DX.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

Why we should go for lightning component instead of vf pages? : salesforce lightning component

1 Answers  


What are the auto-response rules?

1 Answers  


Can we achieve this without using a trigger ?

1 Answers  


State the types of salesforce reports?

1 Answers  


What are the names of interfaces that are added to a lightning component to allow it to be used as custom tabs, and to be used in lightning and community builder?

1 Answers  


Explain Assignment process & validations.

1 Answers   Accenture,


What is an Auto-Response Rule?

1 Answers  


What is the difference between 15 digit and 18 digit ids in salesforce?

1 Answers  


What is a time trigger?

1 Answers  


What is an external id in salesforce? Which all field data types can be used as external ids? : salesforce crm

1 Answers  


How to make quick lightning action?

1 Answers  


What is a Contact?

1 Answers  


Categories