Copied to clipboard

Flag this post as spam?

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


  • MuirisOG 378 posts 1277 karma points
    May 21, 2018 @ 09:06
    MuirisOG
    0

    Backoffice app for custom table

    I'm on v7.5.14 and I'm building a backoffice app for adding data to a custom table.

    Do I need to have a create.html and create.controller.js for adding new records to the table?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    May 21, 2018 @ 10:02
    Dirk De Grave
    2

    Hi MuirisOG,

    Have a look at Fluidity, might be easier than creating your own "application" to perform CRUD operations on your custom data

    Fluidity: https://our.umbraco.org/projects/backoffice-extensions/fluidity/

    Cheers,

    Dirk

  • Mike Chambers 621 posts 1203 karma points c-trib
    May 21, 2018 @ 11:19
  • MuirisOG 378 posts 1277 karma points
    May 23, 2018 @ 12:14
    MuirisOG
    100

    Many thanks for these suggestions, but as I was near complete on this backoffice app, I soldiered on.

    It looks like my code was incomplete, so instead of

    menu.Items.Add<ActionNew>("Create");
    

    I should have used

    menu.Items.Add<RefreshNode, ActionRefresh>(ui.Text("actions", ActionRefresh.Instance.Alias), true);
    

    in the GetMenuForNode() function.

    As expected, now, when I select the Create menu option in the backoffice, edit.html is loaded and I no longer get the error where it was trying to load create.html.

    (However, I am now seeing that umbraco.ui is deprecated).

  • 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