-
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 to Create and Run Test Suite in Salesforce?
Test Suites : "A set of test classes that you want to execute together is called Test Suites. Test suites can be created for the…
Salesforce Integration Services: 7 Popular Apps for Salesforce Integration with Service Cloud
In today's digital world, Salesforce Service Cloud is considered to be the world's best solution for effective customer service. Do you know why? The answer…
How Salesforce Financial Services Cloud Solves Problems For FinTech Companies
Working in the financial services industry is not an easy-breezy thing to do. It is all about managing people’s wealth and helping them plan their lives, literally.…
Popular Salesforce Videos
Salesforce Sales Engagement Mastery: Proven Strategies for Efficiency and Success
Salesforce stands as a cloud-based customer relationship management (CRM) software capable of revolutionizing sales procedures and enhancing the efficiency of internal sales representatives. This dynamic…
Getting Started with Salesforce Lightning Process Builder
Process Builder is a point and click tool that makes it easy to automate many common Salesforce tasks. Learn how to design and build effective…
Salesforce Certification Registration, Check and Verify Certification Status, Trailblazer.me Profile
All About Salesforce Certification:- Schedule your Salesforce Certification Exam Link Your Salesforce Certifications to Your Trailblazer.me Profile Check & Verify Your Salesforce Certification & Maintenance…