-
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, 10 months ago by
Vikas Kumar.
-
This discussion was modified 9 years, 10 months ago by
Forcetalks.
-
This discussion was modified 9 years, 10 months ago by
Forcetalks.
-
This discussion was modified 9 years, 10 months ago by
Log In to reply.
Popular Salesforce Blogs
Salesforce Chatbot: Streamlining Customer Service and Support
Introduction Salesforce Chatbot is an AI-powered conversational agent designed to interact with customers in a natural and human-like manner. It leverages advanced NLP algorithms and…
Zendesk Alternatives: How to Choose the Right Customer Support Platform in 2026
Choosing a customer support platform in 2026 is no longer simply about finding the best ticketing system. Businesses now need to consider AI, omnichannel communication,…
TriggerFactory in Salesforce Apex | The Developer Guide
Trigger structures in Apex are something clever. We as a whole realize we need them, we as a whole realize that it is best practice…
Popular Salesforce Videos
Level Up Your Processes With Google API and Salesforce Integration
Complex processes often span multiple systems. In this session, we'll cover how to integrate Google APIs into your Salesforce org with an API library in…
Contact Deletion in Salesforce Marketing Cloud
Cameron Robert from Datarati talks through how the Contact Delete function works, how to use it, and a practical demo of how to build a…
Watch and Learn with Salesforce Developers
Salesforce Developers are creators that live on the cutting edge of technology and innovate with the newest tools. The Salesforce Developer YouTube Channel is here…