-
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, 9 months ago by
Vikas Kumar.
-
This discussion was modified 9 years, 9 months ago by
Forcetalks.
-
This discussion was modified 9 years, 9 months ago by
Forcetalks.
-
This discussion was modified 9 years, 9 months ago by
Log In to reply.
Popular Salesforce Blogs
Salesforce Connect - Quick Start | Apex Developer Guide
Salesforce Connect is a cloud integration service that has a game-changing performance in the world of Salesforce. As with the help of this service, you…
Salesforce Community Cloud Is Now Experience Cloud
A long-expected announcement finally came from Salesforce; Community Cloud has been renamed Experience Cloud. The move to embrace Experience is a purposeful reaction to the…
What is Clone and Deep Clone in Apex?
Clone is the predefined method in Apex which is used to clone the record just by one functional line of code. Deep Clone is the…
Popular Salesforce Videos
How to Integrate Commerce, Marketing and Service Using Salesforce Customer 360
Developers, Integrators, Admins and Architects all work together to deliver projects that span multiple Salesforce products. Salesforce is making it simpler by providing native integration…
Use cases Automation UiPath with Salesforce
The following video demonstrates a UiPath Robot automatically populating Salesforce using data read from an Excel spreadsheet....imagine how UiPath Robots could accelerate your Salesforce activities.…
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…