# Get namespace for a channel programmatically

**URL:** <https://community.bloomreach.com/t/get-namespace-for-a-channel-programmatically/1378>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [September 4, 2019, 7:48am UTC](https://community.bloomreach.com/t/get-namespace-for-a-channel-programmatically/1378 "2019-09-04T07:48:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Raj](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/rahul_raj/32/329_2.png) [@Rahul\_Raj](https://community.bloomreach.com/u/Rahul_Raj)\
**Post date:** [September 4, 2019, 7:48am UTC](https://community.bloomreach.com/t/get-namespace-for-a-channel-programmatically/1378/1 "2019-09-04T07:48:42Z")

</div>

Hi All,

I have multi channel setup and have different namespace for each channel.  
ex: channel1 - namespace1  
channel2 - namespace2

Is there a way to retrieve list of namespaces being used in a particular channel programmatically? I am on version 12.4.

Thanks  
Rahul

---

<div class="post-metadata">

**Author:** ![bcanvural](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/bcanvural/32/235_2.png) [@bcanvural](https://community.bloomreach.com/u/bcanvural)\
**Post date:** [September 4, 2019, 8:01am UTC](https://community.bloomreach.com/t/get-namespace-for-a-channel-programmatically/1378/2 "2019-09-04T08:01:50Z")

</div>

Why not add them to the mount node and read them from there?
