# Service to search page in workspace with all components used in layout

**URL:** <https://community.bloomreach.com/t/service-to-search-page-in-workspace-with-all-components-used-in-layout/2713>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [July 26, 2021, 2:42pm UTC](https://community.bloomreach.com/t/service-to-search-page-in-workspace-with-all-components-used-in-layout/2713 "2021-07-26T14:42:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bloomact](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@bloomact](https://community.bloomreach.com/u/bloomact)\
**Post date:** [July 26, 2021, 2:42pm UTC](https://community.bloomreach.com/t/service-to-search-page-in-workspace-with-all-components-used-in-layout/2713/1 "2021-07-26T14:42:17Z")

</div>

Hi,  
I’m new to bloomreach. I need to get all components used in the page (sample: page in workspace) then consume the result json in other service. Is it possible? is there any particular type of service should I use? What is the best way to do it?

I did read many docs from bloomreah’s site, but still very confuse.

I do see the result in localhost:8080/cms/respository when I play with the xPath query, but not sure  
should I use this service and how?

Thanks.
