function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prem ChauhanPrem Chauhan 

Custom vf page show Account hierarchy in salesforce (same as Standard Account hierarchy)

My requirement is 

I need to show the Account hierarchy in custom vf page as same as standard like

In Account object, we have created on the field which is existing Account (lookUp).
if any Account is linked with this account then we need to show the All child account linked to that particular acc in VF page.
Account Name(Parent Account)    Type(Child Account)   Account Owner(Child Acc Owner)
TRTest                                            Industry                      prem
TrTest1                                           other                           karan 
And finally I want to add this page on Account Layout that user can see his/her Linked Account Hierarchy Wise..

Need Urgent Help...

 
NagendraNagendra (Salesforce Developers) 
Hi Prem,

May I suggest you please check with below link from the stack exchange community exactly with a similar discussion and a suggested workaround which might help you further with reference to the above issue. Hope this should help you with the above issue.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
Gaurav Sinha 27Gaurav Sinha 27
with the code in the above link its showing some error. @ Nagendra