+ Start a Discussion

Parent Account — View Hierarchy

As I can see the view hierarchy option beside Account Name field. Can I create something similar of that kind besides my OwnerAccount field. As my OwnerAccount will be having multiple records. If I can establish view hierarchy option it will easy to see the hierarchy. Any insights would be appreciated.

User-added image

Hi SFDC_Penna,

I am assuming that "OwnerAccount" is custom lookup (Account) field. Here you can create a custom formula field and show "View Hierarchy" link within it. For example:

HYPERLINK('/'+ParentId , Parent.Name, '_self' ) + ' [' +
 HYPERLINK('/acc/account_hierarchy.jsp?id=' +  ParentId , 'View Hierarchy' ) + ']'

Note: Please replace "ParentId" with your custom field api name.