-
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 8 years, 3 months ago by
Kumar.
-
This discussion was modified 8 years, 3 months ago by
Forcetalks.
-
This discussion was modified 8 years, 3 months ago by
Forcetalks.
-
This discussion was modified 8 years, 3 months ago by
Log In to reply.
Popular Salesforce Blogs

Apex Intention Actions: The Next Frontier for Apex Completions
Idea from IDEa Recently, I needed to code a little tool in Java. The last time I coded something in Java was in high school,…

Community events take your business to the next level, and here is why?
Events designed for the community, created by the community. Those are this year’s places to be. And yes, massive conferences like Dreamforce bring invaluable &…

The IT Leader's Guide to a Better Salesforce: An Introduction
Salesforce is fantastic. Sure, it has quirks. Yes, some people complain about it…but when you consider its power…an out of the box fully functioning CRM…
Popular Salesforce Videos
How to Create Contact in Salesforce | Salesforce Contacts | Salesforce Tutorial
Contact in Salesforce represents the individual people associated with the business accounts in your organization or Contact records are used for individuals to store personal…
Before Delete Trigger in Salesforce Flows - Winter '21 update
In this video, I'm talking about one of the new features of the Salesforce Winter '21 flow builder i.e is before delete trigger. Watch and…
Non-technical But Want to Build Career in Salesforce?
In this video Shrey gave the answer to the following questions: 1. What is the next step after doing Certification in Salesforce Administrator? 2. How…