Is there a way in blueprints to limit how many subpages of each type a page can have?
I know how to limit which templates can be used as subpages, and I know how to limit the total number of subpages, but is there a way to put a maximum quantity on each individual allowed subpage template?
For example, if a page can have pageA, pageB, or pageC as subpages, is there a way to set it so that there can only be one of each subpage? So, if pageB already exists, you can add pageA or pageC but you cannot add a second pageB?
No, thatβs not possible via a blueprint settings.
You can either use a hook or maybe a model (downside: user can try to add a page and only after trying get the error message), or even a custom page creation dialog with its own logic.