-
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
![Lightning Web Component](https://images.forcetalks.com/wp-content/uploads/2021/06/21210148/Lightning-Web-Component.jpg)
Lightning Web Component | Salesforce Developer Guide
Lightning Web Component Presently you'll construct Lightning components utilizing two programming models: Lightning Web Components and the first demonstrate, Air Components. Lightning web components are…
![Deploying LWC](https://images.forcetalks.com/wp-content/uploads/2020/12/29184533/Deploying-LWC.jpg)
Deploying LWC OSS Apps to Heroku With and Without Express API Server | Salesforce Developer Guide
Heroku is a platform-as-a-service offering that enables developers to build, run, and operate apps entirely in the cloud. It Supports programming languages and frameworks like…
![Salesforce Steps and Instructions - Part 4](https://images.forcetalks.com/wp-content/uploads/2018/03/25082204/Salesforce-Steps-and-Instructions-Part-4.png)
Useful Salesforce Steps and Instructions – Part 4
Hello All, Welcome to the another part of Useful Salesforce Steps and Instructions. The provided below steps will be very useful for you while working…
Popular Salesforce Videos
Creating Massive Junction Records with LWC | Salesforce Lightning Tutorial
Don't miss this new interchange session with Jorge Ortega and Alba Rivas! They'll discuss how to build an LWC that allows you to easily create…
Introduction to Salesforce Nonprofit Cloud for Program Management
Each nonprofit’s mission and the program is unique, but with Salesforce’s highly configurable and customizable platform, you can manage your entire program from one central…
Salesforce Training | Salesforce Jobs For Beginners Video
Salesforce Training Tutorial video provides What is Salesforce and Salesforce jobs and Salesforce careers for beginners. So if you are planning to becoeme a Salesforce…