-
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
One Must Opt For Salesforce Email Automation
There are still various organizations that prefer email marketing campaigns to reach out to their customers in the best way possible. And why not? People…
Fascinatingly fast turnover in Salesforce
While in the previous article we were talking about a very interesting and fun challenge - however one looks at it, it is a challenge…
How Salesforce Can Drive Consumer Engagement?
With the rise in popularity of digital ecosystems, communication channels have drastically evolved, and along with it, customer expectations have significantly changed as well. This…
Popular Salesforce Videos
Governor Limits in Salesforce | Video Tutorial
Watch this amazing video to learn all about Governor Limits in Salesforce and a description of Governor Limits in Salesforce. If you have any doubts…
Salesforce Training Videos For Beginners - 3 | Salesforce Admin Training
This Salesforce Training Video will help us in quotation generation and improve customer communication. Generating proposals can be a drag on sales team productivity. Editing…
Why Users Cannot be Deleted from Salesforce | How to Delete User from Salesforce?
Why users cannot be deleted from Salesforce and how to delete users from Salesforce? Watch this video and learn all about it. Do let us…