In this blog, I am going share a approach through which you can display account hierarchy using lightning tree grid. You can place this lightning component on account record page and it will detect the current account record Id and will display the complete hierarchy.
I am utilising formula field called "Ultimate Account id" to avoid multiple SOQL in apex to get list of all account in the hierarchy. This component can display all account which are up to 10 level deep in hierarchy.
Please refer below URL to get more idea about Ultimate Account Id formula field.
How to get list of all accounts present in account hierarchy in Salesforce
In this LWC component, I am just passing the account Id to apex method and apex method returns all the account list which are present in hierarchy. In order to display account in tree grid, I am creating data in js which will be accepted by tree grid. So in this approach, manipulation on apex side is very simple.
Note: Create Ultimate Account Id formula field on account first in order to implement below code.
Hope this will help!!!
Hello, This blog is very informative for every one, It's a Great think to help everyone thanks. Visit our website and find Great products in very cheap price https://alphatrade-ltd.com/ReplyDelete
best event planners in vijayawadaReplyDelete
Sobha Galera Row HouseReplyDelete
Nice blog post.ReplyDelete
Sobha Galera luxury project provides 4 BHK row house launching in Hoskote, Bangalore
Thank you for this informative post this blog contains some interesting topics keep doing this work also have a look on this School with best ratingReplyDelete
loved all that you shared ,so clear and easy to follow.
is there any issue your laptop ....We are provide solution
Laptop Service Center in Chennai
Thanks for sharing https://aswebworks.com/digital-marketing-training-in-pune/ReplyDelete
Thanks for the sharing information, we provide best solution for sexual problems.https://indiasbestsexologist.com https://www.indiasbestsexologist.com/ReplyDelete
Keep doing this work also have a look on this School with best rating thank you for this wonderful post this blog contains interesting topicsReplyDelete
Professionals use Tableau as a tool to make interactive data dashboards and other engaging data visualisations. These dashboards can be distributed to organisational decision-makers and executives, enabling them to immediately spot patterns and trends in massive amounts of data. Additionally, people can utilise interactive data visualisation dashboards to cut and dice data in various ways to study how inputs may change broad patterns and trends.ReplyDelete
Because Tableau is a user-friendly product, even people with no prior technical knowledge may learn how to use it. This product is really well-liked because it is simple to understand. It appeals to both small enterprises and big corporations like Whole Foods, Verizon, and Cigna because of its adaptability, simplicity, and capacity to visualise massive volumes of data. Tableau is also used by public institutions like state and local governments to organise and present their data.
The fact that Tableau has both premium and free versions will be appreciated by anyone who is interested in learning how to use it. Even on a tight budget, people may learn how to organise, analyse, and visualise their data using this program. One of its products, for instance, stores data in the cloud in a way that allows everyone to examine the data and visualisations; of course, this feature is excellent for people who aren't dealing with sensitive data!
A while ago i met a online cryptocurrency investing company who promised to double my investment within a month and i could also get bonus if i invested more so i agreed and i invested $10000 to get $20000 in return so i was so happy to work with them at first not until the day i was meant be credited my funds they suddenly went MIA and i was left devastated,sad and angry that i was being scammed not until a friend of mine came around and introduced Premiumhackservices AT gmail DOT com, they told me not to worry and i gave them the necessary information and evidence of payment and they did what i thought was impossible which was getting my funds back and i was happy again all thanks to them, you can also contact them via Whatsapp +14106350697 and they will be at your service.ReplyDelete
Thanks for sharing the valuable information .ReplyDelete
Espiritu Santo Island is one of the most mentioned undertakings mentioned by explorers who visit La Paz, and justifiably, since swimming with ocean lions is quite possibly of the most unimaginable experience that you can live in La Paz.ReplyDelete
The goods limitless save in Cedar Park, TX, gives an extensive range of rubber gloves for one-of-a-kind existence. They've rubber gloves for folks that are active, folks that are sedentary, and people who are somewhere in between.ReplyDelete
Get Rubber gloves in Cedar Park TX
This is very informative.
vidmate pro apk mod
This comment has been removed by the author.ReplyDelete
This comment has been removed by the author.ReplyDelete
Enormous trees frequently fall because of weighty downpour and make what is going on complex with the harms made on the contiguous properties.ReplyDelete
Learn French Enligne is a leading online French institute, has established partnerships with international institutions to provide top-notch French language education. With experienced teachers from both India and France, LFE offers high-quality courses for learners of all levels, along creative workshops, masterclasses, intensive courses, exam preparation courses, and a French teacher training program.ReplyDelete