-
How can I generate a Set from a List structure in Salesforce?
Hi All,
How can I generate a Set<Id> from a List<SObject> structure?
Basically I want to turn my returned List<SObject> into a Set<Id>.
Thanks
Log In to reply.
Popular Salesforce Blogs
![Salesforce Business Analyst](https://images.forcetalks.com/wp-content/uploads/2021/06/03151912/Salesforce-Business-Analyst.jpg)
Top 5 Tips to Become a Salesforce Business Analyst In No Time
If you’re an inquisitive individual who enjoys data and always find yourself asking questions and finding out the why behind certain decisions, you might be…
![Salesforce project](https://images.forcetalks.com/wp-content/uploads/2020/10/21143303/Salesforce-project.jpg)
Problem Solving | Salesforce Project Implementation
'I am happy to help you', I replied to a post on a Salesforce group. A group member posted a roadblock in his recent Salesforce…
![Digital Transformation](https://images.forcetalks.com/wp-content/uploads/2022/10/27155618/Digital-Transformation.jpg)
Bridge Your Digital Transformation Gaps With DAP | Salesforce-powered Communities
In today’s day and age, the way businesses operate has shifted drastically. Running a business without using some sort of software or technology is unimaginable.…
Popular Salesforce Videos
Lightning Component Development - Applying Stylesheet, Create Basic Lightning Component
Welcome to Lightning Component Development Sessions. This is the initiative to help Salesforce Community in learning Lightning which we believe is future of Salesforce. Check…
Salesforce Validation Rules - Keep your Data Clean
Watch this short video for just over 2 minutes and learn how to keep your Salesforce data clean? The answer is simple: Use field validation…
How to Focus on Report Results in Salesforce Console | Salesforce
When you work with reports in a fast-paced Salesforce Console environment, every extra click or focus change can slow you down. Now a streamlined console…