Aug 02, 2022 06:41 AM
Hello all, I’m working through the parent-child relationships of a self-linked table. I need to build a hierarchy or path which traverses a multi-level hierarchy using a “child” relationship. Some other solutions in these forums are focused on a “parent” relationship column, such as the excellent solution by @Justin_Barrett here:
https://community.airtable.com/t/parent-child-tree-hierarchy/44094
Using the above solution as an example, I would like to build the following hierarchy:
I’m open to other feedback on how construct this, even if it isn’t a scripting solution. I’ve just used the above example as a starting point.
I’m also aware of the parent vs child tradeoffs of self-linking tables. I’ve gone through multiple iterations of this project already, trying both approaches.
Thanks for the help!
Solved! Go to Solution.
Aug 16, 2022 09:48 PM
I got parent-to-child parsing working after tackling the problem in a different way. The script at the link above has both options now.
Aug 02, 2022 04:21 PM
Welcome to the community, @maqjara! :grinning_face_with_big_eyes: Thanks for the nod! I can definitely see the benefits of working the tree from the other end, and I don’t think that it would take much to modify the script that I shared in the other thread. I’m tight on time at the moment, so it might take me a few days, but I’ll see what I can do.
Aug 03, 2022 11:43 PM
Thanks @Justin_Barrett for your contribution. Your few scripts help us a lot. You should set up ko-fi :grinning_face_with_big_eyes:
Aug 13, 2022 02:13 PM
Thanks for the recommendation! I just set up an account. I won’t link it here in the thread, but you can find it in my profile.
Aug 13, 2022 06:32 PM
It took a little longer than I thought to get around to the update, but it’s done. I just added it as an option to the original script instead of making a whole new script. The link in the original thread still works, but I’ll add it here for those who might find this thread first.
Aug 16, 2022 09:48 PM
I got parent-to-child parsing working after tackling the problem in a different way. The script at the link above has both options now.