-
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, 11 months ago by
Naresh kumar.
-
This discussion was modified 6 years, 11 months ago by
Naresh kumar.
-
This discussion was modified 6 years, 11 months ago by
Log In to reply.
Popular Salesforce Blogs
Volunteer Management in Salesforce Nonprofit Cloud
Volunteers are a super important part of many nonprofit organizations. Volunteer efforts can help your organization lower costs while providing excellent services and building a…
How to Switch from Classic to Lightning Easily and Why you Need It?
Salesforce Lightning offers a modern, streamlined interface that enhances user productivity and provides powerful customization capabilities. If you're still using Salesforce Classic, it's time to…
How Salesforce CPQ Software Eliminates Sales Hurdles?
In this era of an automated CRM solution like Salesforce CPQ, if your sales team is still struggling in generating quotes, writing proposals and closing…
Popular Salesforce Videos
Get Started with Salesforce Elevate
Salesforce is a powerful tool to analyze your past fundraising, and monitor your ongoing efforts. In this webinar, we'll start with the fundamentals -- understanding…
Heroku | Salesforce Development Course
Knowledge of Heroku is also required to crack the Salesforce PD 1 Certification Examination. Let’s understand what Heroku is and what are its uses, in…
How Does SFCC (Headless Commerce) Different From Its Competitors and Why Is It Better? | Salesforce
Let's have look at which one is better SFCC, Shopify, Magento, or Woocommerce. Which one you should choose? Have a glance at this extract from…