Base solution for your next web application
Open Closed

Adding new customizable dashboard #10918


User avatar
0
edarib created
  • What is your product version?

    • 11

  • What is your product type (Angular or MVC)?

    • MVC

  • What is product framework type (.net framework or .net core)?

    • .net core

  • ABP framework

    • 7.1

Hello,

I am attempting to create a new custom dashboard in addition to the host and tenant dashboards. I have added the dashboard definition to AppSettingProvider.cs & DashboardConfiguration.cs (screenshots attatched).

Screen Shot 2022-02-22 at 1.41.06 PM.png
Screen Shot 2022-02-22 at 1.42.01 PM.png

However, the GetDashboardFromSettings method in DashboardCustomizationAppService.cs always returns just the host and tenant dashboards.

Is there a trick to getting the database settings to add the newly created dashboard?

Thank you!


1 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @edarib

    Since this information is stored in the settings, if your users have made a customization to the dashboard and then you add a new dashboard, unfortunately, the user will not be able to see the new dashboard because the setting data has not changed in the db. I have created an issue that problem. You can follow the progress here: https://github.com/aspnetzero/aspnet-zero-core/issues/4275