Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Madura Silva 27 posts 79 karma points
    Oct 28, 2014 @ 01:22
    Madura Silva
    0

    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,

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 28, 2014 @ 09:02
    Ismail Mayat
    0

    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

  • Madura Silva 27 posts 79 karma points
    Nov 02, 2014 @ 10:13
    Madura Silva
    0

    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 ?

    Error pic

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies