-
How to store list of contacts in Salesforce associated to a particular account using Map?
Can you please tell me the query how to store a list of contact associated with an account using Map
Iam using this below query
Map FinalMap=new Map[(Select id,(Select lastname from contacts) from account)];Throughing errror you cannot store two sobject on a map
Log In to reply.
Popular Salesforce Blogs
Is Salesforce Just a CRM? Nay, It’s Much More Than That
Salesforce has revolutionized the CRM industry. With its various cloud offerings and easy learning curve, salesforce has emerged as the industry leader in CRM. Before…
Send Email to Salesforce Sales Cloud Data from Marketing Cloud Using Import and Automation Filter Activity
Go through this blog to have a better understanding of how import and automation filter activity works in Salesforce Marketing Cloud. Requirement: We want to…
MailChimp Salesforce Integration - All You Need to Know
ChimpConnect deals with Salesforce Integration with Mailchimp. It is acting as a bridge between Salesforce and Mailchimp. With the help of this Application, Users can…
Popular Salesforce Videos
Salesforce Professional Services Helps Customers Get Value From Salesforce, Faster
Our experts have helped thousands of customers transform their businesses, operating models, and cultures, all backed by the full power of Salesforce. Watch this video…
Integrate Salesforce with Amazon S3
Dear #Trailblazers, In this video, we are going to learn how to connect #Salesforce with #Amazon S3. We are going to use Named Credentials which…
Salesforce Summer '22 Release Highlights | Salesforce Video Tutorial
It's time for Salesforce's Summer '22 update release! This release is chock-full of exciting customization updates ready for you to use within your Salesforce organization.…