[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>();
}
Its using tree controller, so i used to have it as IDashboard, i was also using in angular the umb-sub-view directive, however that was nuking the other tabs like examine management. So i swapped to a tree like how usync8 does it. However I already have a folder stucture for everything so was wondering if there was a way for just that controller to chagne the route.
V8 treecontroller routing
I have the following treecontroller:
When i open the item in the tree the route its trying to hit is:
My stuff lives in
Is there a way to customise the route so i can replace the backoffice part?
Regards
Ismail
Hi Ismail
Do you have it in the package manifest file like this:
Or you can do it in C# like this:
All code sourced from Dave's CodeGarden 19 presentation slides https://gitpitch.com/dawoe/building-gr8-packages#/32
Cheers
Paul
Its using tree controller, so i used to have it as IDashboard, i was also using in angular the umb-sub-view directive, however that was nuking the other tabs like examine management. So i swapped to a tree like how usync8 does it. However I already have a folder stucture for everything so was wondering if there was a way for just that controller to chagne the route.
Oh I see, sorry, I'm not sure, maybe Kevin can help then.
is working on a reply...