Registering with package.manifest
Add a file named 'package.manifest' to the app_plugins folder, containing the following json configuration pointing to your dashboard view:
Registering with C# Type
By creating a C# class that implements IDashboard from Umbraco.Core.Dashboards then this will automatically be discovered by Umbraco at application startup time.
using System;
using Umbraco.Core.Composing;
using Umbraco.Core.Dashboards;
namespace My.Website
{
[Weight(-10)]
public class MyDashboard : IDashboard
{
public string Alias => "myCustomDashboard";
public string[] Sections => new[] { "content", "settings" };
public string View => "/App_Plugins/myCustom/dashboard.html";
public IAccessRule[] AccessRules => Array.Empty<IAccessRule>();
}
}
Alex, I research umbraco api with oauth token very long time but I couldnt solve this problem. I'm using umbraco api with no token for now.
I want to use umbraco api with oauth token plesase can you give me some information documantation. thank you very much about your helps.
where Dasboard.config file
I want to update welcome page or dashboard tabs. but I cant find Dasboard.config.
hi Hakan
Dashboards functionality changed a bit, so you need to configure it in json or c#, have a look at docs - https://our.umbraco.com/documentation/Extending/Dashboards
Registering with package.manifest Add a file named 'package.manifest' to the app_plugins folder, containing the following json configuration pointing to your dashboard view:
Registering with C# Type By creating a C# class that implements IDashboard from Umbraco.Core.Dashboards then this will automatically be discovered by Umbraco at application startup time.
Thanks,
Alex
thanks Alex.
Alex, I research umbraco api with oauth token very long time but I couldnt solve this problem. I'm using umbraco api with no token for now. I want to use umbraco api with oauth token plesase can you give me some information documantation. thank you very much about your helps.
is working on a reply...