-
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 7 years, 11 months ago by Kumar.
- This discussion was modified 7 years, 11 months ago by Forcetalks.
- This discussion was modified 7 years, 11 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
How to use Leaflet Map in Salesforce?
Leaflet Map: Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. The leaflet is designed with simplicity, performance, and usability in mind. Let's…
Planning to Hire a Salesforce Nonprofit Consultant? Here’s What you Need to Know
Why would you need a strategy to hire a consultant, right? Like go on an XYZ review website and hire the best one? Simple? No?…
Popular Salesforce Videos
Practice Questions and Test for Salesforce Administrator ADM 201 Certification Exam | 2021
In this video, Shrey provides a practice test for the candidates who are preparing for the Salesforce Administrator exam. This test boosts your confidence and…
Run Report With Filters from UiPath Studio | Salesforce
New features on Salesforce Activities Extention Package from UiPath MarketPlace: https://connect.uipath.com/marketplace/components/salesforce-activities-extention-package (0:40) Use complex object in the Query and Timeout part of the Setting to…
Custom Settings and Custom Metadata Explained | 3-Minute | Salesforce Tutorial
In this video, Alex walks you through Custom Settings and Custom Metadata types in Salesforce and the difference between them. Discover how ENWAY can assist…