-
Converting Salesforce sobject List into string List
Hi all,
i wanted to get list of accounts name into a single string
List<account>acc=select name ,id,annualrevenue from account
i wanted to get a individual string list for each field .
like
List<string>name:- must have all accounts name
List<string>id:-must have all accounts id
thanks
-
This discussion was modified 8 years, 12 months ago by
Vikas Kumar.
-
This discussion was modified 8 years, 11 months ago by
Forcetalks.
-
This discussion was modified 8 years, 11 months ago by
Forcetalks.
-
This discussion was modified 8 years, 12 months ago by
Log In to reply.
Popular Salesforce Blogs
How to Boost Salesforce Lead Generation Strategies Using Ads?
Nowadays, the real battle is in digital space. Businesses are transitioning their assets and strategies to cater to a broader market accessible via the Internet.…
Deliver Transparency and Collaboration with Salesforce Manufacturing Cloud
The manufacturing industry is unique in many ways. With so many parties involved in a single project and big contracts at stake, it’s crucial for…
Basic Knowledge Of Artificial Intelligence (feat. Salesforce Einstein)
Artificial Intelligence (AI) is a mechanism for a machine to “think like humans” — i.e., the machine can perform tasks with the planning, reasoning, learning,…
Popular Salesforce Videos
Get Started with Salesforce for Recruitment and Admissions: Admissions and Onbaording
This webinar is designed for Salesforce admins and users who work in Recruitment and Admissions. We will cover all you need to know about using…
Salesforce Lightning Development | Make Your Business Lightning-Ready With Algoworks!
Description - From creating Lightning-ready Salesforce AppExchange apps to making Salesforce instances Lightning-ready, we have mastered Lightning. Contact us for salesforce lightning development services! https://www.algoworks.com/salesforce/…
Translation Workbench | Salesforce Tutorial
One of the most common questions new Salesforce admins ask us is how can they translate custom terms when their org is in multiple languges?…