-
How to update multiple sObjects field in a Salesforce Apex batch class?
Hi All,
I am in a scenario where i have to update two sObjects (say Account and Lead)name field to a particular same name.I am provided with different sObject's Ids.i have to differentiate them to which sObject these ids belong and based on that i have to update the name using batch class operation.
please give suggestions
Thanks
Log In to reply.
Popular Salesforce Blogs
Overcoming 5 Biggest Salesforce Integration Challenges
Salesforce is a powerful tool that lets companies create a 360-degree view of their customers and business. Integration with other databases can further enhance the…
Salesforce REST API | HTTP and Callout Basics | All You Need to Know
HTTP and Callout Basics REST callouts depend on HTTP. To see how callouts work, it's useful to comprehend a couple of things about HTTP. Each…
Salesforce Summer'24 Highlights | All You Need to Know
Salesforce’s Summer ‘24 update is here, and its features are like a breath of fresh air. Let’s go over some of the cool features that…
Popular Salesforce Videos
Security for Salesforce Developers: Data Security
In this series, we review the most important concepts that developers must understand to create secure applications on the Salesforce platform. We talk about data…
Create Reports In Salesforce With Report Builder
Create reports in Salesforce with Report Builder. In this video, the following points will be covered - 1. Introduction Get a brief introduction about reports…
How Users Set Up Einstein Activity Capture | Salesforce Tutorial
Say goodbye to busy work. Say hello to smarter selling. When you connect your email and calendar to Salesforce with Einstein Activity Capture, their email…