Copied to clipboard

Flag this post as spam?

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


  • Dibs 202 posts 991 karma points
    May 09, 2016 @ 13:18
    Dibs
    0

    Disable a document type from root

    Dear Umbraco Team

    I have created a base document type with common properties to be used by child document types from the base. In Umbraco 7.4.3 when i create a content node, the base document type can be created at the root. How can this be disabled ?

    Yes - allow content of this type in root is unchecked. All document types will be child document types from the base document type.

    Thanks Dibs

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    May 09, 2016 @ 13:42
    Dennis Adolfi
    0

    Hello Dibs.

    If the "allow content of this type" checkbox is unchecked then this node should not be albe to create at root. Howerver, i tried this on a clean Umbraco 7.4.3 install and you are correct, i can still create a root node anyway, even if i dont tick this checkbox.

    You should report it to http://issues.umbraco.org/issues. Remember to write which version (7.4.3) so that anyone who is willing to help can fix it easier.

    All the best! / Dennis

  • Dibs 202 posts 991 karma points
    May 09, 2016 @ 15:22
    Dibs
    101

    Cheers Dennis

    I have raised U4-8424 Unable to disable a document type from root on issues site

    Thanks Dibs

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    May 09, 2016 @ 15:54
    Dennis Adolfi
    0

    Awesome Dibs! You can probably fix it for yourself temporarily by creating a startup class and then hook a event to the ContentService.Create event, if this is critical. Otherwise I think this will probably be prioritized by Umbraco, so it's probably solved in the next upgrade.

    Some info about ApplicationStartup event: https://our.umbraco.org/documentation/reference/events/application-startup

    Have a great day!!

  • Dibs 202 posts 991 karma points
    May 10, 2016 @ 08:19
    Dibs
    1

    no worries Dennis, its not critical.

    Umbraco top tem are on the case to fix for v8.

    http://issues.umbraco.org/issue/U4-8424

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    May 10, 2016 @ 08:32
    Dennis Adolfi
    0

    That sounds great Dibs!!! :)

  • 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