# Content inheritance

**URL:** <https://community.bloomreach.com/t/content-inheritance/2029>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [July 20, 2020, 5:09pm UTC](https://community.bloomreach.com/t/content-inheritance/2029 "2020-07-20T17:09:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![selva.manivasagam](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/selva.manivasagam/32/575_2.png) [@selva.manivasagam](https://community.bloomreach.com/u/selva.manivasagam)\
**Post date:** [July 20, 2020, 5:09pm UTC](https://community.bloomreach.com/t/content-inheritance/2029/1 "2020-07-20T17:09:20Z")

</div>

Hello,

Does bloomreach offers content inheritance so that I can add all the common properties of a document to its parent folder in order for all its (children) documents to inherit it ? For example, assume the following Folder/Document structure:

Region (Folder)  
|  
—\> RegionalDocument1 (Document)  
—\> RegionalDocument2 (Document)

With the above structure, is it possible to add a property `regionName=<region_name>` to `Region` Folder so that `RegionalDocument1` and `RegionalDocument2` Documents can both inherit it (which would in turn avoid the user to enter the `regionName` to each document(s) separately) ?

Thanks!

Cheers,  
Selva

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [July 20, 2020, 9:48pm UTC](https://community.bloomreach.com/t/content-inheritance/2029/2 "2020-07-20T21:48:16Z")

</div>

Hi Selva,

As a direct answer to your question, the folder in XM does not support editable fields (`hippostd:folder` type), and content inheritance in content storage level is not supported.

But if you can change your problem slightly to 'whether authors can define default field values for the documents in the folder, and whether the delivery-tier may show the default values if the specific document has blank fields somehow, then an answer could be as follows:

- authors may be asked to provide a default value document by a convention in the folder. e.g, folder1/defaults
- you may define custom Content Bean for the specific document type in the deliery-tier. [1][2]
- in your custom Content Bean, you may have extra getters for default values read from the default value document if existing. e.g, #getDefaultTitle().
- in your templates, you may render title or defaultTitle. e.g, \<#if doc.title?has\_content\>${doc.title}\<#else\>${doc.defaultTitle}\</#if\>

Regards,

Woonsan

[1] [https://documentation.bloomreach.com/14/library/concepts/content-beans/creating-content-beans.html](https://documentation.bloomreach.com/14/library/concepts/content-beans/creating-content-beans.html)  
[2] [https://documentation.bloomreach.com/14/library/concepts/content-beans/dynamic-content-beans.html](https://documentation.bloomreach.com/14/library/concepts/content-beans/dynamic-content-beans.html)

---

<div class="post-metadata">

**Author:** ![selva.manivasagam](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/selva.manivasagam/32/575_2.png) [@selva.manivasagam](https://community.bloomreach.com/u/selva.manivasagam)\
**Post date:** [July 21, 2020, 1:31am UTC](https://community.bloomreach.com/t/content-inheritance/2029/3 "2020-07-21T01:31:42Z")

</div>

Hi Woonsan,

Thanks for the workaround!

Cheers,  
Selva
