# Document Inheritance

**URL:** <https://community.bloomreach.com/t/document-inheritance/2353>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [January 28, 2021, 1:11pm UTC](https://community.bloomreach.com/t/document-inheritance/2353 "2021-01-28T13:11:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salini\_Nair](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/salini_nair/32/878_2.png) [@Salini\_Nair](https://community.bloomreach.com/u/Salini_Nair)\
**Post date:** [January 28, 2021, 1:11pm UTC](https://community.bloomreach.com/t/document-inheritance/2353/1 "2021-01-28T13:11:02Z")

</div>

My Customer has a requirement to inherit pages.

As per the channel property inheritfrom, I understand that we can inherit the page template and its components and also the documents attached to the components.  
By default I understand that all the inherited components and page elements will be locked in XM and not editable in the child channel.

Now the customer has a requirement to override the documents in the child channel for these inherited pages. This is to show different content in different site , but same page. Is it possible?

---

<div class="post-metadata">

**Author:** ![nmendes](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/nmendes/32/564_2.png) [@nmendes](https://community.bloomreach.com/u/nmendes)\
**Post date:** [February 3, 2021, 12:33pm UTC](https://community.bloomreach.com/t/document-inheritance/2353/2 "2021-02-03T12:33:01Z")

</div>

Bloomreach inheritance is implemented in a way that more specific configuration will prevail over a more generic one.  
So if you have a common configuration that now needs to be changed on a different channel you will need to override that configuration on the channel it-self.  
For configuration of pages that were built with drag & drop components will always stay on the workspace node of the specific channel.  
e.g. looking at the following newslist page configuration

- /hst:myproject/hst:configurations/common/hst:pages/newslist
- /hst:myproject/hst:configurations/myproject/hst:workspace/hst:containers/newslist/main/newslist-component

Even if the **newslist Page** is configured in the Common node, the **main/newslist-component** will always be placed on the workspace of the channel **myproject/hst:workspace**

---

<div class="post-metadata">

**Author:** ![Salini\_Nair](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/salini_nair/32/878_2.png) [@Salini\_Nair](https://community.bloomreach.com/u/Salini_Nair)\
**Post date:** [February 3, 2021, 1:25pm UTC](https://community.bloomreach.com/t/document-inheritance/2353/3 "2021-02-03T13:25:14Z")

</div>

@nmendes From your explanation what I understand is we can override components or add components to a page inherited from a **common** channel. Is that correct understanding?

My question was about documents. Lets say document1 is inside the banner component of BrandPage **common** channel. Now BrandPage is inherited from **child** channel. If I have to edit document1 which should be only visible in **child** , is it possible? If yes, could you please inform how?

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [February 4, 2021, 1:23pm UTC](https://community.bloomreach.com/t/document-inheritance/2353/4 "2021-02-04T13:23:44Z")

</div>

" Now BrandPage is inherited from **child** channel. If I have to edit document1 which should be only visible in **child** , is it possible?"

if you edit content it would be propagated to all inherited components, unless you override that specific document reference (container) in one of your child (container) components.

---

<div class="post-metadata">

**Author:** ![Salini\_Nair](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/salini_nair/32/878_2.png) [@Salini\_Nair](https://community.bloomreach.com/u/Salini_Nair)\
**Post date:** [February 4, 2021, 10:19pm UTC](https://community.bloomreach.com/t/document-inheritance/2353/5 "2021-02-04T22:19:07Z")

</div>

Ok thank you . From the above my understanding is that if I override a document in my child channel, my content can be overridden.

I could not find the right document on how to do it, could you please point me the correct developer documentation section which describes the document overriding?

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [February 5, 2021, 10:41am UTC](https://community.bloomreach.com/t/document-inheritance/2353/6 "2021-02-05T10:41:35Z")

</div>

> [@Salini\_Nair](#):
>
> I override a document in my child channel, my content can be overridden.

In short, within our HST configuration there is no such a thing as “overriding document” or “document inheritance”. You can override **components** which are responsible for content fetching. Although, it (end result) boils down to the same thing, you will not find any documentation if you use wrong terminology.

In your case, you probably need a component container with “Simple Content” component, similar to what is described in here:

> **[Configure the About Page - Bloomreach Experience Manager (PaaS/Self-Hosted) -...](https://xmdocumentation.bloomreach.com/trails/developer-trail/configure-out-of-the-box-features/configure-about-page.html)**
>
> The fast and flexible on-premise or PaaS headless CMS

> **[HST Configuration Inheritance - Bloomreach Experience Manager...](https://xmdocumentation.bloomreach.com/library/concepts/hst-configuration-model/advanced/configuration-inheritance.html)**
>
> The fast and flexible on-premise or PaaS headless CMS
