Base solution for your next web application
Open Closed

Navigation for new pages or dashbaords. #8708


User avatar
0
finadmin1A created

Hi,

I created 3 new pages on naviation side bar. I want to call the all widgets and edit functionality on my new pages too. I tried to create new pages under default dashboard in app setting provider but that is only showing a new page like a tab element on the same default dashboard. Could somebody please help or share useful link how can I call the widgets on my new pages. I tried to copy and paste some code from hostdashboard controller and tried to call it in a similar way but I must have to provide permission for default dashboard as well in order to show them on new pages. If anyone could please help me with this ??? I actually want my new pages behave like another dashboard which has widgets.

Thanks, Hunain

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    finadmin1A created

    Yes, I created the widgets and pages but I am talking about if we can create more dashboards ? like on the left side bar if we click dashboard default dashboard appears. I want to create 4 of my own dashboards how can I achieve that ? Please advise. Thank you.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can follow a similar approach as HostDashboard page;

    1. Create a similar controller like HostDashboardController.cs and its view ofcourse.
    2. Create your Dashboard Definition like DashboardConfiguration.cs#L161-L172
    3. And finally, add it to menu, AppAreaNameNavigationProvider.cs#L16
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    finadmin1A created

    Yes, I follwed the same approach and it worked out. Thank you so much.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)