-
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
Einstein Analytics: Data Sync Functionality Explained
Data Sync is a process that helps to ensure that the data in your Salesforce org is ready to be used in Einstein Analytics. This…
Salesforce Einstein: The Beacon of Business Growth
Businesses need more than just the right services and products to stand out in the market. Strategical use of data is paramount to promote quality…
Top 10 Job Profiles for Salesforce Certified Professionals
Salesforce is one of the most used and popular CRM software that is best known to manage customer information. It is being used across a…
Popular Salesforce Videos
5 Mind-Blowing New Salesforce Marketing Cloud Releases
The Statist worldwide marking survey reports- “Almost 4 billion world population is digitally active, and 2.14 of them are shopping online.” In this entire scenario,…
Exploring Technology Choices For Salesforce Integration
Are you struggling to find the perfect technology to integrate Salesforce into your business processes? Integrating Salesforce into your business processes can offer significant advantages,…
Salesforce for Beginners | Getting Started with Salesforce and CRM
Chapter 1 of Salesforce for Beginner. It includes the following topics: 00:11 Login and Navigation 00:31 App launcher 00:48 Search 01:15 List Views 02:23 Salesforce…