-
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
Salesforce for Logistics Industry | All You Need to Know
The logistics industry has evolved from just stock-keeping to maintaining a large amount of inventory management and handling of that inventory with Unique IDs related…
All About Salesforce High-Velocity Sales
Salesforce is the most popular CRM among enterprises due to its extensive features and rich functionalities. The structure of the Salesforce Customer Relationship Management system is designed…
Popular Salesforce Videos
Set Access for Lightning Knowledge ‐ Set Up Salesforce Knowledge
User permissions control access to different tasks. Using permission sets or custom profiles you can grant Ada the article-related permissions she needs. Create a permission…
Tips to Crack the Salesforce Administrator Certification Exam in One Go
Do you want to become Salesforce administrator certified? So in this video Shrey has shared the important topics to crack the Salesforce Administrator Exam. Following…
Adding an Email Service Channel with Email-to-Case | Salesforce Tutorial
Learn how to add an email service channel with Email-to-Case. This feature will enable you to resolve and correspond with customer inquiries via email without…