-
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, 11 months ago by
Vikas Kumar.
-
This discussion was modified 9 years, 11 months ago by
Forcetalks.
-
This discussion was modified 9 years, 11 months ago by
Forcetalks.
-
This discussion was modified 9 years, 11 months ago by
Log In to reply.
Popular Salesforce Blogs
Salesforce Lightning Vs. Salesforce1 Mobile Device Components
Salesforce1 and Salesforce Lightning are the two most popular Salesforce platforms, used by Salesforce Developers, especially those who are into the mobile application development field…
Discover Why Salesforce Einstein Analytics is the Trump Card for E-commerce Transformation
Businesses and customers have observed humongous values in automation and insights that deliver valuable, productive and gratifying encounters. However, there is a dramatic landscape change…
Everything One Must Know About Salesforce Customer 360
How to be successful in any business? It all depends on how businessmen entertain their customers well. Moreover, if one wants their customers to repeat…
Popular Salesforce Videos
Workplace Command Center | Salesforce
Protect employees and customers with safer workplaces. Use our Workplace Command Center to quickly take action on workplace safety.
Integrate Salesforce and Active Directory Step by Step
The prospect of implementing Single Sign-on in your Salesforce org can seem daunting if you are unfamiliar with the process. In this live step-by-step demo…
Salesforce Einstein Activity Capture Guide
Have you ever had issues maintaining accurate, up-to-date information between your Salesforce org and your clients? Einstein Activity Capture is here to work for you…