Copied to clipboard

Flag this post as spam?

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


  • Edgar Rasquin 174 posts 467 karma points
    Nov 08, 2016 @ 13:58
    Edgar Rasquin
    0

    umbracoNode - how to create nodes in db?

    Is it possible to create Umbraco Nodes from within the db by adding a new line in the dbo.umbracoNode table?

    I tried, but the node does not show up. Neither in the Backend nor in the Website.

    Am I missing something?

    Thanks

    First Line is created by Umbraco and works. - Last Line is created directly in MS SQL an does not show:

    enter image description here

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Nov 08, 2016 @ 16:26
    Sebastiaan Janssen
    103

    You can't just add stuff to the database. Please use the ContentService for creating new content.

    References:

    Documentation: https://our.umbraco.org/Documentation/Reference/Management/Services/ContentService

    Blog post (older but still mostly relevant): https://umbraco.com/follow-us/blog-archive/2013/1/22/introducing-contentservice-aka-the-v6-api/

  • Edgar Rasquin 174 posts 467 karma points
    Nov 10, 2016 @ 10:32
    Edgar Rasquin
    0

    Hello Sebastiaan,

    thank you very much for your reply and your infos. I will look into this.

  • 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