# Hi, how can I get de name of the materials from a Static Mesh and search it in a Data Table

**URL:** <https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897>\
**Category:** Blueprint\
**Tags:** Blueprint-Utilities, unreal-engine, Widget, UE4, question, Blueprint\
**Created:** [November 21, 2022, 1:28pm UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897 "2022-11-21T13:28:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HydadesBstyle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HydadesBstyle](https://forums.unrealengine.com/u/HydadesBstyle)\
**Post date:** [November 21, 2022, 1:28pm UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897/1 "2022-11-21T13:28:59Z")

</div>

HI.I am looking for a button in a Utility Widget that looks for the name of the materials of a selected Static Mesh and replaces them looking for them in the table. But I don’t know how to connect the Row Name to the name of the materials that I import

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/1/ce169dd06943432bfad7a971fd2af5411e44f36b.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/e/b1e832d72412eb6fc8c7af51276c74e74ae75a30.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 21, 2022, 4:30pm UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897/2 "2022-11-21T16:30:40Z")

</div>

You seem to have most of the datatable stuff sorted so here is how to get the material by name

Enable plugin "Blueprint Material and Texture Nodes

 ![matname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/c/cec5d0022fe7eb79e213a4d992b2a3d0185f3a0f.png)

Use “Find Existing Material” passing in “/Game/YourMaterialDirectory” as base path  
Material full name = material name.  
If you want to search sub folders then turn on “Recursive Paths”

---

<div class="post-metadata">

**Author:** ![s.h.a.z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s.h.a.z](https://forums.unrealengine.com/u/s.h.a.z)\
**Post date:** [November 23, 2022, 7:54am UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897/3 "2022-11-23T07:54:11Z")

</div>

@3dRaven Where do you find this node after enabling it? I am not able to find it. Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 23, 2022, 7:57am UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897/4 "2022-11-23T07:57:50Z")

</div>

@s.h.a.z You need to enable the plugin blueprint material and texture node (screenshot in my post)

---

<div class="post-metadata">

**Author:** ![s.h.a.z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s.h.a.z](https://forums.unrealengine.com/u/s.h.a.z)\
**Post date:** [November 23, 2022, 8:05am UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897/5 "2022-11-23T08:05:07Z")

</div>

@3dRaven Yes, I’ve enabled the plugin and restarted the project file. Still no luck. And under what section can I find it. Thanks a lot for the quick response.

---

<div class="post-metadata">

**Author:** ![s.h.a.z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s.h.a.z](https://forums.unrealengine.com/u/s.h.a.z)\
**Post date:** [November 23, 2022, 8:10am UTC](https://forums.unrealengine.com/t/hi-how-can-i-get-de-name-of-the-materials-from-a-static-mesh-and-search-it-in-a-data-table/695897/6 "2022-11-23T08:10:43Z")

</div>

Ok, I am finding it under Utility Widget But not in user widget class or any other blueprint for that case. Thanks. I ve just starting on Unreal quite recently.
