-
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, 4 months ago by Kumar.
- This discussion was modified 7 years, 4 months ago by Forcetalks.
- This discussion was modified 7 years, 4 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Einstein GPT: the first generative AI for CRM
Since its release in November 2022, Chat GPT has become a buzzword - over a million people signed up to use it in just five…
Top 7 Salesforce Extensions: Blessing In Disguise For Small Businesses
Salesforce, a popular customer relationship management platform, has progressed into being one of the most personalized sales management platforms in the CRM market. Countless Salesforce…
Best Salesforce Training Program In 2022
If you're seeking the best Salesforce training program to become a Salesforce developer in 2022, you've come to the correct place. Salesforce is a vast…
Popular Salesforce Videos
What is Salesforce | Salesforce CRM Tutorial For Beginners | Salesforce Training
This Salesforce Training Video will help you understand what is a CRM ( Customer Relationship Management ), why we need Salesforce CRM and how some…
Apex Triggers in Salesforce | Concepts and Examples
Apex triggers enable you to perform custom actions before or after changes to Salesforce records, such as insertions, updates, or deletions. A trigger is Apex…
COVID 19 Tracker in Salesforce Lightning Aura Component
In this video, we are developing a lightning Component to track the current pandemic COVID19 Stats Tracker which shows the current situation of all countries…