Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 445 posts 1059 karma points
    Aug 31, 2017 @ 12:46
    Ayo Adesina
    0

    Set URL for node in Custom Tree

    Hi guys,

    I have custom section and tree in my umbraco installation. The tree is rendered based on data in an external database. (as in not the umbraco db)

    This is all working fine. However when you click on one of the nodes, I can't get the right edit view to be displayed.

    This is how I'm using the CreateTreeNode method.

    CreateTreeNode("opco-" + opco.Id.ToString(), "-1", queryStrings, opco.CompanyName, "icon-globe-alt", opco.Brands.Any(), "rewards/rewardsTree/views/opco/edit.html");
    

    When I put my mouse over the node the browser shows the correct URL (above) - but when I click it, Umbraco redirects to the Content section of the back office.

    I have quite a complex tree, and I want to beable to organise all the views in a clean logical way - I don't want to use the default paths.

    Can anyone explain why its redirecting, and how I can have full control over each node type edit/create views.

  • Gevorg 13 posts 124 karma points
    Aug 13, 2018 @ 21:05
    Gevorg
    0

    Hello Ayo Adesina,

    Can you please share if you had success with this? I have the same issue of being redirected to Content section of the back office.

Please Sign in or register to post replies

Write your reply to:

Draft