# Searching Project for All Instances of a Component

**URL:** <https://forum.inductiveautomation.com/t/searching-project-for-all-instances-of-a-component/23186>\
**Category:** General Discussion\
**Created:** [March 9, 2019, 12:07am UTC](https://forum.inductiveautomation.com/t/searching-project-for-all-instances-of-a-component/23186 "2019-03-09T00:07:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvaldovinos](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bvaldovinos/32/6315_2.png) [@bvaldovinos](https://forum.inductiveautomation.com/u/bvaldovinos)\
**Post date:** [March 9, 2019, 12:07am UTC](https://forum.inductiveautomation.com/t/searching-project-for-all-instances-of-a-component/23186/1 "2019-03-09T00:07:08Z")

</div>

I’m trying to search my project for all instances of a certain component. I’m currently replacing dozens, possibly hundreds, of momentary buttons with regular buttons. It’s a bit time consuming to search for this manually. Would love a way to search for this. Anyone?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 9, 2019, 2:42am UTC](https://forum.inductiveautomation.com/t/searching-project-for-all-instances-of-a-component/23186/2 "2019-03-09T02:42:06Z")

</div>

Export your windows as XML using shift-right-click in the tree. Then search for the class name.
