Copied to clipboard

Flag this post as spam?

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


  • Manish 373 posts 929 karma points
    Jul 10, 2017 @ 06:52
    Manish
    0

    Deals with custom table in umbraco to create API

    Hi

    I want to create an API using umbraco. By using this i will generate a url which can be used anywhere. For this, I created two custom table in umbraco.

    My problem is that how to deal with custom table in umbraco to fetch/update/delete result. On searching i found 'PetaPoco' is better to go with. But i have not idea how to start with.

    I tried to install petapoco using nuget but it is giving me error. I am using latest umbraco 7.6.4

    Is there any other way to achieve this .

    Thanks

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Jul 10, 2017 @ 07:47
    Ismail Mayat
    0

    Manish,

    Umbraco has npoco already installed as is used in the core you can use that. see https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/82275-apicontroller-plus-custom-data-table-insert-issues

    Also to maintain the tables you can use the excellent https://our.umbraco.org/projects/developer-tools/ui-o-matic/ to do crud of your tables in backoffice.

    Regards

    Ismail

  • 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