Copied to clipboard

Flag this post as spam?

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

  • Aung Zin Phyo 17 posts 87 karma points
    Jan 10, 2020 @ 03:50
    Aung Zin Phyo

    How to add cshtml pages to dashboard.config Custom Section

    Backoffice Sections and Razor


    I am trying to add a cshtml page to config. As i need to show list with some custom logic in admin section. But when i add to dashboard.config, it gives me error of authorization access.

    How can i add chstml page to admin section.


  • Thomsen 112 posts 335 karma points
    Mar 31, 2020 @ 22:11

    Hi Aung, did you find a solution to this?

  • David Brendel 792 posts 2969 karma points MVP 3x c-trib
    Apr 02, 2020 @ 14:49
    David Brendel

    Hi Thomsen,

    the backoffice ist build with AngularJs (If you're in v7 or V8). There is no way of adding cshtml views to the backoffice. There is documentation for extending the backoffice. I suggest having a look at that If you want to extend the backoffice. Keep in mind there where changes in V8. So no dashboard config anymore.

    Regards David

  • Damien Holley 175 posts 535 karma points
    Apr 14, 2021 @ 23:12
    Damien Holley

    Hi actually you can do this using js in the dashboard.

    Use it to hit your controller which can return a partial view. So you can then use the JQ to paste in the partial result into a div.

Please Sign in or register to post replies

Write your reply to: