# How to get the SiteMap object from a configuration in hst:hst/hst:configurations programmatically?

**URL:** <https://community.bloomreach.com/t/how-to-get-the-sitemap-object-from-a-configuration-in-hst-hst-hst-configurations-programmatically/2614>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [June 8, 2021, 12:24am UTC](https://community.bloomreach.com/t/how-to-get-the-sitemap-object-from-a-configuration-in-hst-hst-hst-configurations-programmatically/2614 "2021-06-08T00:24:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmrodriguez](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@jmrodriguez](https://community.bloomreach.com/u/jmrodriguez)\
**Post date:** [June 8, 2021, 12:24am UTC](https://community.bloomreach.com/t/how-to-get-the-sitemap-object-from-a-configuration-in-hst-hst-hst-configurations-programmatically/2614/1 "2021-06-08T00:24:20Z")

</div>

Hi!

We are interested in getting the Sitemap object programmatically for a given configuration in our hst:hst/hst:configurations node.

Is it possible to get this object knowing the id of the configuration node that contains the sitemap?

To illustrate this requirement, see the image below

![Screen Shot 2021-06-07 at 6.19.23 PM](https://canada1.discourse-cdn.com/flex027/uploads/bloomreach1/original/2X/5/54266819bd30ce56bd2716e91b90c200f3dd275d.png)

So, knowing the name of the configuration node (common\_en), get the Sitemap object contained in it programmatically, if possible, at valve level.

Thanks in advance.
