-
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 7 years, 4 months ago by Vikas Kumar.
- This discussion was modified 7 years, 4 months ago by Forcetalks.
- This discussion was modified 7 years, 4 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Your Complete Guide to Salesforce Service Cloud
In this article, we’ll be giving you the 411 on Salesforce's customer service focused platform, Service Cloud. Since sales and service go hand in hand,…
Artificial Intelligence vs Automation: Which is Better for Salesforce Deduplication?
While a lot of businesses are looking to streamline processes, this can be done in many different ways via automation, machine learning, and artificial intelligence.…
Popular Salesforce Videos
Create Custom App in Salesforce | Salesforce Training
Following Pointers are included in this video: 00:00:00 Agenda 00:00:36 What is Cloud Computing? 00:03:12 What is Salesforce? 00:05:21 Benefits of Cloud computing & Salesforce…
Salesforce Billing - Digital Wallets and Alternative Payment Methods
THE GOAL: In this video, you will learn how to use Alternative Payment Methods and Digital Wallets with Salesforce Billing. BEFORE YOU BEGIN, KNOW THE…
Salesforce Connections 2018 Keynote - Ch. 2: Ticketmaster Is A Trailblazer
Salesforce Connections 2018 Keynote – Ch. 1: Corporate Positioning Salesforce Connections 2018 Keynote – Ch. 2: Ticketmaster Is A Trailblazer Salesforce Connections 2018 Keynote –…