Creating My Team search query for custom objects
I have a custom object and I wish to build My Team type search queries as available for standard objects. In standard objects this work even for a deep structure for instance
A is a manager of B,
B is a manager of C
if A selects My Team query he should be able to see objects created by A, B and C
if B selects My Team query he should be able to see objects created by B and C
This works in standard but I cannot find anything in the UI designer which influences this. Please share any tips/tricks to achieve this scenario.