-
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, 8 months ago by
Vikas Kumar.
-
This discussion was modified 9 years, 8 months ago by
Forcetalks.
-
This discussion was modified 9 years, 8 months ago by
Forcetalks.
-
This discussion was modified 9 years, 8 months ago by
Log In to reply.
Popular Salesforce Blogs
How to Manage Salesforce Integrations with Event Monitoring?
Salesforce offers several features and tools designed to improve business processes. One of the main aspects of leveraging Salesforce is integrating with other systems to…
RemoteAction Annotation In Apex | Salesforce Apex Developer Guide
Annotations: An Apex annotation, like a Java annotation, modifies how a method or class is used. Annotations begin with a @ symbol and are followed…
Is there a better way to handle callouts in Salesforce?
Recently, I was doing an integration and was faced with a situation that lead me to think, is there a better way to do this,…
Popular Salesforce Videos
Saving Journey History in Marketing Cloud
We explore how to leverage Marketing Cloud REST API and its automations to save all the journey history data for your organization. Includes a video…
Driving Gamified Interactions on Salesforce Communities With ScoreNotch | Use-Cases
A Salesforce native and lightning-ready product that makes gamification more dynamic and engaging. It encompasses powerful features that boost community engagement and ROI. Do let…
Creating Multi Screen Wizard Using Apex and Visualforce Salesforce
Watch this video to learn how to create a Multi-screen wizard using Apex and Visualforce Salesforce. If you have any questions do let us know…