Skip navigation

CQ5

Currently Being Moderated

How to limit node generation in CQ5?

Apr 18, 2012 5:22 PM

How & where can I configure node limitation for a page in CQ5? Is it possible to limit the nodes to like 100 or 1000 under a directory?

 
Replies
  • Currently Being Moderated
    Apr 19, 2012 6:07 AM   in reply to utrive

    What is the reason for such a restriction.

    As far as I know there is no lowlevel option (like a jcr mixin-Type) to restrict nodecreation. One of the basic problems is, that a user (and also the API calls executed for his principal) might not see all existing pages/nodes based on his ACLs. Internally there are mechanisms to optimize large amount of nodes (afaik, the usage of a b-tree was introduced, so internally the tree is broken down in subbranches). If your use-case is from the high-level perspecitve (like restrikting the max-amount of navigation nodes) you might have the need to overlay the ExtJS frontendfunctionallity of CQ to apply some prechecks before a user can perform a node-creation. But you should be aware that such solutions can in most cases be tricked (like "moving" pages).

     

    HTH

    Dominik

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points