Copied to clipboard

Flag this post as spam?

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


  • Adriano Fabri 360 posts 1236 karma points
    Sep 12, 2019 @ 13:58
    Adriano Fabri
    0

    How can I set my custom dashboard as default view in my Custom Section

    Hello, I have my custom section with a custom tree and I'm trying to configure my custom dashboard as default view (with Umbraco 8) but I don't find the dashboard.config in config folder.

    How can I configure it?

    Thanks Adriano

  • Shaishav Karnani from digitallymedia.com 330 posts 1564 karma points
    Sep 12, 2019 @ 18:14
    Shaishav Karnani from digitallymedia.com
    1

    Hi Adriano,

    You are right for Dashboards, v8 don't have a config.

    Umbraco Documentation has provided good documentation on how to do it in v8.

    https://our.umbraco.com/documentation/extending/dashboards/

    Please can you review and try it. Please do share your code if you need further help.

    Cheers,

    Shaishav

  • Adriano Fabri 360 posts 1236 karma points
    Sep 13, 2019 @ 08:48
    Adriano Fabri
    0

    Thank you for the support Shaishav.

    I already saw that documentation, but I haven't found anything about that.

    I try to better explain. I would that all first level of my custom tree (that are simple containers) linked to the dashboard. All the children (second level), instead, must have the link to the custom page.

    The actual result, instead, is that all nodes of my custom tree (first and second level) have the link to the own custom page...I see the dashboard only when open for the first time my custom section

    I hope I explained better the problem

    Adriano

  • Adriano Fabri 360 posts 1236 karma points
    Sep 23, 2019 @ 11:05
    Adriano Fabri
    100

    SOLVED!!!

    For each treenode that must show the dashboard page, I must set the "routePath" param to dashboard page

    var node = CreateTreeNode(treeNode.Value.ToString(), "-1", queryStrings, "My Custom Title", "icon", true, "dashboardroutepath");
    

    That's it. Adriano

Please Sign in or register to post replies

Write your reply to:

Draft