-
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, 1 month ago by
Kumar.
-
This discussion was modified 9 years, 1 month ago by
Forcetalks.
-
This discussion was modified 9 years, 1 month ago by
Forcetalks.
-
This discussion was modified 9 years, 1 month ago by
Log In to reply.
Popular Salesforce Blogs
Choosing Debug Mode and Component Caching to build Lightning Components rapidly and efficiently
As you start developing Lightning Components you must take care of a few settings in Salesforce Org, depending on whether you are in production or…
Learn All About the Apex Core Concepts in 2023
Apex code typically contains many things that you might be familiar with from other programming languages. Programming elements in Apex This Image will describe the…
Salesforce Sales Cloud: Implementation and Adjusting, Customization
What to do if you implement a costly CRM, and find out it cannot cover all your business processes? If you are a business owner…
Popular Salesforce Videos
What is Salesforce Hyperforce?
In this video, you will take a look at Salesforce Hyperforce, Salesforce's new re-architecting of the Salesforce platform. 00:00 Introduction 00:28 What is Salesforce Hyperforce?…
Salesforce Platform Quick Tip: How to Use Einstein Search
Want to improve your searches in Salesforce, and make them faster and more intuitive? In part one of this 2 part series, Trailblazer and Salesforce…
PASS Salesforce Certified Administrator Exam on the FIRST Attempt
Want to pass the Salesforce Certified Administrator Exam on the FIRST Attempt? Then this video is for you. Here are the steps: STEP 1 :…