-
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, 4 months ago by
Naresh kumar.
-
This discussion was modified 6 years, 4 months ago by
Naresh kumar.
-
This discussion was modified 6 years, 4 months ago by
Log In to reply.
Popular Salesforce Blogs
Displaying Field According to Its Datatype In Salesforce Lightning Component
For my recent Requirement, I had to show the LookUp field of inside a lightning component. I had to use two components, the parent and…
10 Warning Signs Your Salesforce Implementation Is Heading for Disaster
Salesforce is a powerful Customer Relationship Management (CRM) tool that helps businesses streamline operations, enhance customer interactions, and drive business growth. However, the journey from…
Technical Debt in Salesforce: A Primer
Technical debt in Salesforce is unavoidable as your business evolves — in many ways, it’s the cost of development. The longer you’ve been running Salesforce,…
Popular Salesforce Videos
TrailheaDX '18 Opening Keynote - Part 3: Connect Every Experience
Salesforce TrailheaDX ’18 Opening Keynote – Part 1: Create Connected Customer Experiences TrailheaDX ’18 Opening Keynote – Part 2: Salesforce Platform Salesforce TrailheaDX ’18 Opening…
Deep Dive into Salesforce Connected App
In this session, we will deep dive into Salesforce Connected app, its usage for Salesforce developers and admins, various options and configurations provided for Authentication…
Salesforce For Non Programmers | Salesforce For Non Technicals
You can learn Salesforce without any programming language. You can plan Salesforce Administrator Certification which requires no coding skills. Watch this video to learn how.