Hierarchical data is a structure of data that references itself to represent a tree of parent and child elements. In practice, you often find such structures for mapping organizational hierarchies, folders or taxonomies. While OutSystems allows self-referencing entities, this does not apply to structures. This means that hierarchical data cannot be mapped one-to-one. This sample application demonstrates how you can nevertheless work with hierarchical data in OutSystems, from persistence in the database to processing in the core service and display on the UI. For the UI part, the List pattern is used to create a tree view, as there is none in the OutSystems UI.
The Forge component is accompanied by this article explaining its construction step by step, so that you can recreate the example and comprehend the solution yourself.