Create a DataType which shows a grid with CURD functions
Hi,
I'm trying to build a DataType to show a grid, which loads data from a SQL table. Also I want to do the CURD functions on the grid. It was easy to do in the earlier version because it supported Usercontrols but I have no idea how to do it in Umbraco 7+ .
Any help, sample or guidance would be really appreciated as I'm new to Umbraco 7 & MVC.
In v7 datatypes what are now called property editors are created using html / angularjs. Your backend data will need to come from a webapi endpoint some useful links to get you started,
There are also plenty of existing v7 editors under the projects section most provide links to sourcecode on github / bitbucket you can take a look at those as well.
Create a DataType which shows a grid with CURD functions
Hi,
I'm trying to build a DataType to show a grid, which loads data from a SQL table. Also I want to do the CURD functions on the grid. It was easy to do in the earlier version because it supported Usercontrols but I have no idea how to do it in Umbraco 7+ .
Any help, sample or guidance would be really appreciated as I'm new to Umbraco 7 & MVC.
Thanks,
Madura,
In v7 datatypes what are now called property editors are created using html / angularjs. Your backend data will need to come from a webapi endpoint some useful links to get you started,
http://draptik.github.io/blog/2013/07/28/restful-crud-with-angularjs/
http://www.codeproject.com/Articles/737030/A-basic-SPA-application-using-AngularJS-WebAPI-and
http://umbraco.github.io/Belle/#/tutorials (Shows you how to create a property editor)
http://umbraco.github.io/Belle/#/api (docs for the angular stuff in umbraco)
There are also plenty of existing v7 editors under the projects section most provide links to sourcecode on github / bitbucket you can take a look at those as well.
Regards
Ismail
Hi Ismail,
I followed Tutorial - Adding server side data to a property editor tutorial but ended up with a below 404 error message. Any idea what is wrong in this tutorial ?
is working on a reply...