-
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
Integration Through JWT FLOW | Server-to-Server Integration | Salesforce
JWT Integration This is used for Server-to-Server Integration Scenarios. This Flow Uses a certificate to sign the JWT request and doesn’t require explicit user interaction.…
3 Salesforce Security Vulnerabilities Companies Should Not Ignore
Gartner estimates that 99% of cloud security failures stem from customer misconfigurations. Recent cybersecurity alerts confirm this trend in enterprise customer relationship management (CRM) environments.…
What Happens When Salesforce Meets GDPR?
Are you using cloud apps like Salesforce, Google G Suite, Microsoft Office 365??? Then under the GDPR impact, you should know a few things in…
Popular Salesforce Videos
Salesforce Stock Pops on Better-than-expected Earnings and Guidance
Salesforce shares rose as much as 3% in extended trading on Wednesday after the enterprise software maker reported fiscal second-quarter earnings and forward guidance that…
UiPath automation for Salesforce | REST API commands | OAuth2 | Download files | Without activity
How to send a raw REST API command from UiPath to Salesforce without using custom activities. 0:00 Intro 1:35 OAuth2 4:10 Download files from a case, opportunity, account,…
Understanding Products & Pricebooks in Salesforce
In this video, Shrey gave detailed information about products and pricebooks You will also learn: 1. How to add and manage Products in Salesforce? 2.…