Copied to clipboard

Flag this post as spam?

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


  • lori ryan 239 posts 573 karma points
    Jan 30, 2020 @ 09:11
    lori ryan
    0

    Only allow one instance of a dooc type on Root

    Hi

    Just wondering whats the best way of stopping users from creating certain doctypes. For example sitemap doctype where you would only want one on the root of the site.

  • lori ryan 239 posts 573 karma points
    Jan 31, 2020 @ 08:34
    lori ryan
    0

    anyone???

  • Magnus Eriksson 122 posts 362 karma points
    Jan 31, 2020 @ 08:41
    Magnus Eriksson
    100

    I usually create the page for the client then after disable the creation of the doc type.

    Regards, Magnus

  • Ambert van Unen 175 posts 817 karma points c-trib
    Jan 31, 2020 @ 13:27
    Ambert van Unen
    1

    Basically what Magnus said.

    Create the page, then disallow the creation of it. You could also do it with permissions, but that is more of a hassle I guess.

  • lori ryan 239 posts 573 karma points
    Jan 31, 2020 @ 14:38
    lori ryan
    0

    Thanks guys was looking for a more elegant solution but sometimes the easy root will do it :-)

Please Sign in or register to post replies

Write your reply to:

Draft