-
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 9 years ago by
Vikas Kumar.
-
This discussion was modified 8 years, 12 months ago by
Forcetalks.
-
This discussion was modified 8 years, 12 months ago by
Forcetalks.
-
This discussion was modified 9 years ago by
Log In to reply.
Popular Salesforce Blogs
What is CPQ and Why Every Business Needs One? Salesforce CPQ Basics Explained
In Malcolm Gladwell’s book, “The Tipping Point,” he discusses social epidemics – the steady adoption of technology or cultural change that all of a sudden…
Salesforce ServiceNow Integration Guide
Table of contents: About Salesforce About ServiceNow Why integrate them? Common Salesforce ServiceNow integration use cases How to choose the best integration tool? How to…
Popular Salesforce Videos
Data Import: Clean and Prepare Your Data Using Excel | Salesforce
Cleaning and Preparing Data Using Excel covers several features and functions that will make quick work of getting your data files ready for import. Vlookup,…
Creating leads using Amazon Alexa with salesforce.
Amazon EchoAmazon Echo is a voice command device with functions like question answering, playing music and controlling smart devices. Echo connects to Alexa which is…
Revenue Generation Opportunities on AppExchange
If you're an aspiring entrepreneur or a business professional looking to expand your revenue streams, this video is a must-watch! Watch this extract from our…