-
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, 3 months ago by
Vikas Kumar.
-
This discussion was modified 9 years, 3 months ago by
Forcetalks.
-
This discussion was modified 9 years, 3 months ago by
Forcetalks.
-
This discussion was modified 9 years, 3 months ago by
Log In to reply.
Popular Salesforce Blogs
The Ultimate Guide To Salesforce Data Recovery And Backup
Of course Salesforce manages with the available services and provides different backup and recovery features in case you face data losses or need to return…
Debugging in Salesforce | All You Need to Know
Debugging is a key part of software development, including Salesforce development. Debugging in Salesforce is the process of identifying and fixing errors or problems in…
Invoke Apex Class From JavaScript Button in Salesforce
Introduction In this blog, we will learn how to call an apex class from a custom button or the Javascript button from the object detail…
Popular Salesforce Videos
Winter '21 Release | Salesforce Tutorial Video
The Sandbox Preview window for Winter '21 begun on September 11, 2020. You must have an active sandbox on a preview instance before then to…
COVID-19 Impact on The Automotive Industry -Digitization With Salesforce Can be a Solution
Coronavirus is expected to create a physical contactless environment with an increased thrust on online assessment and buying of vehicles. This is a huge shift…
Apex Scheduler Part II | Asynchronous Apex | Salesforce Video Tutorial
Asynchronous Apex 1. Apex Scheduler 2. Ways to run apex scheduler 3. Cron Expression 4. Examples Upcoming Video on Batch Apex Hope you guys enjoy…