-
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
A Business Guide to Choosing Between Headless Agentforce and Composable Commerce
Modern e-commerce businesses are no longer limited to choosing between a traditional all-in-one commerce platform and a completely custom solution. As customer expectations increase and…
Fixing Inefficient Customer Support Workflows With Salesforce Development Services
Customer support teams face mounting pressure to deliver fast, accurate responses. Recent industry data shows that 73% of customers expect companies to understand their needs…
6 Ways To Utilize Salesforce Sales Cloud To Its Fullest
Salesforce holds the top spot in the industry when it comes to streamlining business processes. Having been around for over 20 years now, Salesforce has…
Popular Salesforce Videos
Salesforce Mobile Publisher Demo
With Salesforce Mobile Publisher, you can create pixel-perfect mobile applications for employees, customers, and partners. Check out this video and learn all you need to…
Benefits of Having Veteran In an Organization | Career in Salesforce
Let's Understand how a veteran can start their career in Salesforce? In this Episode Davis and Shrey covered the following questions: 1. About his background and…
Salesforce Admin Freelancing - $32,000 in 1 Month - Learn How You Can Do It
I made $32,000 last month, working only 20 hours per week. I want to show you how to do the exact same thing! Pricing increases…