-
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
Salesforce Nonprofit Cloud vs. NPSP: Which One to Choose?
Table of Contents Introduction Nonprofit Success Pack (NPSP) Salesforce Nonprofit Cloud Key Differences between Salesforce Nonprofit Cloud vs. NPSP Conclusion (Salesforce Nonprofit Cloud vs. NPSP)…
7 Signs Your Business Needs Salesforce Experts for CRM Optimization and Growth
If your team is fighting the system instead of working through it, you likely need Salesforce experts for CRM optimization before the gap gets any…
Getting Started With Salesforce Pardot | The Basics
Pardot Pardot is Salesforce's B2B selling automation robotization arrangement. In case you're a business that offers to various organizations (or B2B), Pardot can computerize your…
Popular Salesforce Videos
Code Review in Salesforce
Code Review and Code Quality in Salesforce 0:00 Introduction 0:44 What is code review? 1:22 Why we need code review 3:33 Basic code review 4:12…
Salesforce Video Wall
Salesforce approached Obscura with the opportunity to create imaginative media for the 107’ long LED video wall in the lobby of their flagship San Francisco…
Salesforce CPQ Product Bundles
Salesforce CPQ product bundles. See how product bundles work with features and options. Also including an option constraint to prevent incorrect configuration. Watch this video…