# Document type restrictions for folder

**URL:** <https://community.bloomreach.com/t/document-type-restrictions-for-folder/2005>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [June 23, 2020, 5:32am UTC](https://community.bloomreach.com/t/document-type-restrictions-for-folder/2005 "2020-06-23T05:32:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![girijanandan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/girijanandan/32/505_2.png) [@girijanandan](https://community.bloomreach.com/u/girijanandan)\
**Post date:** [June 23, 2020, 5:32am UTC](https://community.bloomreach.com/t/document-type-restrictions-for-folder/2005/1 "2020-06-23T05:32:04Z")

</div>

Hi Team,  
I have two name space in my project and two root folders also in cms. I have given document type restrictions for each main folder according to the namespace. But when I am creating any inner child folders every time I need to give the restrictions for corresponding namespace doctypes or if i am giving doctype restrictions for main folders it will automatically work for inner folders also? Because I saw in my inner folders it is showing all the document types for the 2 name spaces. Shall I give the restrictions for all inner folders also every time when I am creating folders. Is there any way to restrict corresponding name space document types to be shown in corresponding root folders and sub folders in one restriction?

Thanks  
Girija

---

<div class="post-metadata">

**Author:** ![Hema\_Vanapalli](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/hema_vanapalli/32/1367_2.png) [@Hema\_Vanapalli](https://community.bloomreach.com/u/Hema_Vanapalli)\
**Post date:** [February 28, 2025, 1:57pm UTC](https://community.bloomreach.com/t/document-type-restrictions-for-folder/2005/2 "2025-02-28T13:57:19Z")

</div>

> [@girijanandan](#):
>
> estrict corresponding name space document types to be shown in corresponding root folder

Hi Team,

Can you please try following this [documentation](https://xmdocumentation.bloomreach.com/library/concepts/document-types/control-the-allowed-document-types-in-a-folder.html) and see if that works?
