we want to iterate a Departments data source where we only display the Department(s) where the user is listed and all its child Departments (recursive tree). It would have been perfect if we could set the Starting Point(s) as a property, but that is not possible. Could there be any workaround?
A workaround can be to use two iterating containers of type “Repeat Content”, with the first iterating container going through Departments where User = Current User. The iterating container within can iterate through all Departments where Parent Department = Department in context, without any additional filters. This way, you can almost configure the start points yourself in the parent container. But this is not ideal when you theoretically don’t know how many recursive levels deep the diagram can go.
I have also sent this as a challenge internally, to be able to configure a recursive tree in the same way, to avoid complicated setups with many containers within each other.