-
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
Accelerate Your Business Growth In 2023 With Salesforce Spring ‘23 Release
The Salesforce Spring ’23 Release is packed with new features and enhancements that will help businesses streamline their operations, improve collaboration, and drive growth. One of the…
All About Account-based Marketing in Salesforce
Understanding Account-based Marketing Account-based showcasing may be a B2B showcasing technique that centers on particular clients or accounts and targets each as an advertisement of…
Understanding The True Potential of Salesforce Integration With SAP
Being one of the most popularly used customer relationship management (CRM) software in the market, Salesforce offers multitudes of functionalities towards managing critical business processes…
Popular Salesforce Videos
An Introduction to Salesforce org Nonprofit Cloud
Did you know that over 30,000 nonprofit organizations use Salesforce? Salesforce.org’s premier product, NPSP, helps nonprofits drive greater impact by connecting everything they do. Learn…
What Is The Approximate Salary A Fresher Can Expect In The Indian Market Of Salesforce?
Wondering what is the approximate salary a fresher can expect in the Indian market of Salesforce? Join this useful group for Salesforce job & career…
How Link Cartridge Development Can Your Business Storefront | Salesforce Link Cartridge
LINK Cartridge is a container for packaging and deploying program code and data, it’s structured in folders and subfolders for maximum efficiency.