# How to get HstRequest object in cms module

**URL:** <https://community.bloomreach.com/t/how-to-get-hstrequest-object-in-cms-module/129>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [July 11, 2018, 4:45pm UTC](https://community.bloomreach.com/t/how-to-get-hstrequest-object-in-cms-module/129 "2018-07-11T16:45:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka1](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Priyanka1](https://community.bloomreach.com/u/Priyanka1)\
**Post date:** [July 11, 2018, 4:45pm UTC](https://community.bloomreach.com/t/how-to-get-hstrequest-object-in-cms-module/129/1 "2018-07-11T16:45:54Z")

</div>

I am trying to work on creating report and am using the cms module of project for that. I need the HstRequest object which I can get it through the Component’s doBeforeRender() But as I am not using component I am not getting HstRequest object. But is there any way to get HstRequest object?  
I have object of UserSession available. I am accessing hst:pages in the console but by using User sessions. Actually I want to build sitemap urls using HstLinkCreator which will require the HstRequest object.  
Is there any other way of building the sitemap urls?

Thanks,  
Priyanka

---

<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 12, 2018, 8:42am UTC](https://community.bloomreach.com/t/how-to-get-hstrequest-object-in-cms-module/129/2 "2018-07-12T08:42:55Z")

</div>

Hi Priyanka,

I imagine you want to implement some views containing delivery tier URLs and other data.  
If so, why don’t you simply implement it in HST components/templates in site webapp, perhaps as a separate mount or channel, and just Iframe it in a separate perspective by using this forge module:

- [https://onehippo-forge.github.io/iframe-perspective/](https://onehippo-forge.github.io/iframe-perspective/)

Woonsan
