-
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
How Salesforce Customization Services Can Help Your Business
Salesforce is known to have thousands of features used by businesses, along with customization options. Off-the-shelf Salesforce solutions might initially help a business but, moving…
Top New Features in Salesforce Reporting
In this blog, we are going to focus on a couple of the newer features in Salesforce Analytics that have been released over the past…
Why Growing Businesses Need CRM That Adapts to Their Processes
Most growing businesses reach a point where their CRM system becomes an obstacle rather than an asset. The platform they selected during early growth—often chosen…
Popular Salesforce Videos
Get Started with Process Builder
Get started with process builder -- and replace that ridiculously and ever-growing list of workflow rules with easier to understand, more extensible processes. This video…
Financial Services Cloud – Release Readiness LIVE, Summer '19
Hear about some of the new and exciting features that you can expect from Financial Services Cloud in the Summer '19 Release. Highlights include: -…
What is Salesforce? | Why is it So Good ? | High Demand Skills
In this video, Technical Suneja explains what Salesforce is and why it is such a valuable skill set to have. He goes into detail about…