-
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
Salesforce Administrator Roles And Responsibilities
Salesforce is a cloud-based platform that helps a business organisation in managing valuable customer database efficiently. It provides highly automated services that allow the sales…
How Much Does a Salesforce Implementation Cost?
Introduction Before moving ahead, let's first understand what CRM is and why it is important for businesses, as Salesforce is a CRM software. CRM is…
Popular Salesforce Videos
5 Salesforce Hacks to Boost Your Business Sales
Good sales help you to get qualified leads and customers who bring value to you as well. Hence it becomes imperative to have astute resources…
How To Start a Salesforce Career | Video Tutorial
In this episode of the TechTual Talk, our lovely guest Rachel joins us, and we discuss how to start a Salesforce career. 00:00:00 Start 00:09:00…
GS DevOps Mate: Your Free Flexible Toolkit for Faster and Smoother Salesforce Deployments
Are you considering automated Salesforce deployments based on repos? Or are you struggling with setting up CI/CD utilizing SFDX on the CI/CD platform of your…