-
Is there a way to retrieve all the salesforce id in an Account hierarchy
I wanted a utility class which will give me a list of all salesforce id's in an Account Hierarchy.
I have an hierarchy of something like below and the hierarchy can span upto many levels in Account.
Capital World Investors (DEMO) – Ultimate PArent
Capital Research Global Investors (DEMO) – Parent
Fidelity Management & Research (DEMO) – Child
Capital Research Market Investors (DEMO) – Parent
Fidelity Management & Research & Analytics (DEMO) – Child
Any guidance around this is apprecaited
Thanks
Log In to reply.
Popular Salesforce Blogs
Salesforce Editions - Keys for a Successful Selection
If you have already decided to adopt Salesforce CRM, you may find yourself in the dilemma of choosing which of its editions is more suitable.…
No Code Salesforce and Asana Integration
Lead generation, follow-up, and admin tasks keep sales teams engaged. Most reps are multitasking multiple profiles at the same time, dealing with lead qualification, pre-deal…
Partnership of The Year – Salesforce Team Up With Apple!
Salesforce and Apple are two popular tech giants who have simplified technology and contributed big time to the tech world. Salesforce is known as the…
Popular Salesforce Videos
Skill Based Routing with Apex/Flows in Salesforce
This video is the sequel to the omnichannel Salesforce tutorial (LINK) In this video, we will cover: 1. What is Skill-based routing 2. Why is…
What is Headless Commerce in Salesforce Commerce Cloud?
With the advent of COVID, the buying journey of customers has changed significantly. As a result, brands need to keep up with this change and…
Building a Custom UI with Lightning Web Components | Salesforce Tutorial
Lightning Web Components is a modern JavaScript framework that leverages the web standards breakthroughs over the past few years. Watch this session to understand how…
Popular Salesforce Infographics
What to expect with a Salesforce project?
It is important to note that one person can fulfill more than one role (typically in smaller projects) but these roles do need to be…
Do the Work: 8 Steps to Sales Call Preparation [CHECKLIST]
There is no shortage of sales tips and tricks to implement out there, we've certainly published our fair share, but at the end of the…
Introduction to The Salesforce Architecture
Have you ever wondered what is so special about Salesforce? How does it manage to accomplish so much in such less time? Well, the secret…