Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • james 37 posts 121 karma points c-trib
    Feb 12, 2020 @ 11:25
    james
    0

    Moving trees to another section

    Hello,

    In Umbraco 7 we could move a tree to another section by updating the trees.config file. In v8 it looks like trees are now tied to a specific section via the Tree attribute on the tree's controller.

    I was looking at moving a tree by implementing a custom tree controller which inherited from the tree controller I want to move. My plan was to then remove the original tree from the tree collection builder and add my new tree, however the tree collection builder doesn't have a remove method (other collection builders, e.g. the dashboard collection builder, do have a Remove method). Even if this did work, it feels like a complicated way of doing something which was a simple config change before.

    Are we now unable to move trees in Umbraco 8, or should I be looking at a different approach here?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies