-
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 5 years, 1 month ago by Naresh kumar.
- This discussion was modified 5 years, 1 month ago by Naresh kumar.
Log In to reply.
Popular Salesforce Blogs
Top Salesforce Spring '23 Sales Cloud Features
As you might have already read, we went through the top 10 Salesforce Spring '23 release features in our previous blog. Now, it is time…
Top 15 Salesforce Events to Watch out for in 2019
As a Salesforce Professional, participating in Salesforce events is an amazing way to explore new opportunities in the Salesforce landscape and discover new ways to…
Skype URIs in Salesforce (One Click to Call or Chat on Skype)
In this post, i will put a way to implement Skype URIs in 5 Minute with salesforce. Skype is a popular way to chat or calls. We have…
Popular Salesforce Videos
Salesforce Service Cloud Implementation
Salesforce Service Cloud offers a long list of powerful tools to help you realize the potential of your service team. With the endless opportunities for…
Salesforce Marketing Cloud Connector for UiPath
This is a connector for Salesforce Marketing Cloud that allows you to work in the background with SFMC instance. watch this video and let us…
Sales Cloud: Opportunity Splits in Lightning Experience
In today's connected world, technology is rapidly becoming the difference between big quarters and big misses. Companies must empower every sales rep to sell faster,…