I’ve been trying to figure out the best way to get this tree to work, but I am failing on how to do this exactly…
This is what I have now:
The idea is that “Robots.txt” is a root item corresponding to a global context, while the one under the “asdfghjkl” domain is a specific one with that domain as context. However, I have no idea how to correctly set this up I got the above working, but because I gave them the same Guids, they also both light up as selected.
Currently this is all done through one tree controller: SeoToolkit.Umbraco/src/SeoToolkit.Umbraco.Common.Core/Controllers/SeoToolkitTreeController.cs at dev/main · patrickdemooij9/SeoToolkit.Umbraco · GitHub, so maybe that is already an issue as I think Umbraco uses multiple tree controllers? But then how can I make it so that the same workspaces are used for the robots.txt on the root level and on the domain specific level.