-
Trigger
trigger trigger_1 on Contact (before insert) {
List<Contact>contacts= trigger.new;
for(Contact c:contacts){
c.name='naresh';
}
}As i am trying to to execute this code but it is not executing show Field is not writeable :contact.Name
-
This discussion was modified 6 years, 3 months ago by
Naresh kumar.
-
This discussion was modified 6 years, 3 months ago by
Naresh kumar.
-
This discussion was modified 6 years, 3 months ago by
Log In to reply.
Popular Salesforce Blogs
Guide to Modify Opportunity Stages of an Existing Sales Process in Salesforce
With changing times - How we engage with our customers change and also the way we go about our business processes tend to change. When…
How to Download and Install QuickBooks Web Connector Tool? | Salesforce
QuickBooks Web Connector Tool is a software that shares the data between the web-hosted online application and QB Desktop products that includes QuickBooks Financial and…
Popular Salesforce Videos
Before Delete Trigger in Salesforce Flows - Winter '21 update
In this video, I'm talking about one of the new features of the Salesforce Winter '21 flow builder i.e is before delete trigger. Watch and…
How To Get Job In Salesforce Without Experience?
The scope of careers in Salesforce is increasing day by day leading to rising demand in lucrative job roles like Salesforce Administrators, Salesforce Developers, Salesforce…
Salesforce Admin Certification 2020 Questions Explained with References - Part II
How to prepare and pass Salesforce Admin Certification with Practice Exam Questions 2020 practice questions and answers for the Salesforce Administration Salesforce Certified Admin Exam Questions Salesforce Administrator Certification Exam…