I'm working on a new v7 site, and need to add a custom control to interact with a seperate database. Every example I've seen so far (like this one here) shows how to setup a custom tree with angular, but I don't need the custom tree interaction.
I've added a new dashboard tab to the content section as I would in v4 & v6, but what is the best way to add my control and interact with it ?
the dashboard in umbraco 7 can only contains custom property editors based on AngularJS. So you can create your own custom property editor and link this in the dashboard.config file.
there are (at least) two ways to make a dashboard tab
you can create a user control (ascx file) and point the tab to that in the dashboard.config section, they you just have your control running in umbraco, so you can show what you need.
you can do it with Angular and HTML files (again pointing to them from the dashboard.config, you will need some WebAPI things to bind the data to so you can get and retrieve things - they don't have to be on umbraco if that's not where your data is coming from.
Custom control in backoffice dashboard
I'm working on a new v7 site, and need to add a custom control to interact with a seperate database. Every example I've seen so far (like this one here) shows how to setup a custom tree with angular, but I don't need the custom tree interaction.
I've added a new dashboard tab to the content section as I would in v4 & v6, but what is the best way to add my control and interact with it ?
Hi Ian,
I am trying to do this as well, from my limited knowledge and correct me if I am wrong the dashboard item can only call a usercontrol.
Bob
Hi bob,
the dashboard in umbraco 7 can only contains custom property editors based on AngularJS. So you can create your own custom property editor and link this in the dashboard.config file.
This should be a good starting point for you:
https://our.umbraco.org/documentation/Extending-Umbraco/Property-Editors/creating-tutorial1-v7
Best,
Sören
Hi Bob,
there are (at least) two ways to make a dashboard tab
you can create a user control (ascx file) and point the tab to that in the dashboard.config section, they you just have your control running in umbraco, so you can show what you need.
you can do it with Angular and HTML files (again pointing to them from the dashboard.config, you will need some WebAPI things to bind the data to so you can get and retrieve things - they don't have to be on umbraco if that's not where your data is coming from.
is working on a reply...