Restrict Content/Document Driven Pages to Specific Document Types


Can we restrict content/document driven pages to specific document types ?

In archetype project, we have event sitemap which is content/document driven page, where documents of type event(document types) are displayed on the page.

sample url: localhost:8080/site/events/2022/08/workshop

But when we create a document in the event content folder of document type Author. It tries to render the page, but it renders blank page as it is mapped to events.ftl where author related document type fields are not available to fetch the content and display on the page.

In this scenario, we want to configure the parameter at sitemap/page level and display only the pages which are of document type event, rest all should be mapped to 404 based on the configured property.

Could you please let me know, if there is any property like pickerSelectableNodeTypes(which we use at component level).


@jeroen.hoffman @machak Could you please help.


@machak Thank you for your inputs. We are able to configure the properties successfully.

You should also consider restricting those folders to only allow event documents.