-
How to typecast a list of Salesforce sObjects into list of Accounts?
Hi everyone,
I have a list of type sObject, and I want to typecast it into a list of Accounts, i.e.
list<sObject> into list<Account>
How do I implement this?
Thanks in advance.
-
This discussion was modified 9 years, 8 months ago by
Kumar.
-
This discussion was modified 9 years, 8 months ago by
Forcetalks.
-
This discussion was modified 9 years, 8 months ago by
Forcetalks.
-
This discussion was modified 9 years, 8 months ago by
Log In to reply.
Popular Salesforce Blogs
Asynchronous Apex
Asynchronous Apex is used to run a process in a Separate thread when the are resources available.There is no SLA for these jobs as the…
A Deep Dive into AbstraLinx's Integration with ChatGPT's Generative AI
Hello Salesforce enthusiasts! Today, we are discussing the release of the new update for AbstraLinx by Softbuilder. This new release brings a whole new dimension…
Salesforce Governor Limits - Cheatsheet
Salesforce a CRM has there own limitation on the usage of resources which are actually based upon separate editions and these editions have there own governor…
Popular Salesforce Videos
Salesforce: Advanced 'Change Owner' Control in Flow and Apex
Alex Edelstein explains the Salesforce feature known as the 'Change Owner' Control in Flow and Apex. This video is geared toward those already familiar with…
Salesforce Object Search Language: What is SOSL and when to use SOSL?
When to Use SOSL? Use SOSL when you don’t know which object or field the data resides in, and you want to: Retrieve data for…
How to Get a Job in Salesforce as a Fresher | Video Guide
Looking to start a career in Salesforce. Wondering how to get a job in Salesforce as a fresher. Check out this video it will guide…