# Blutility Button/Call in Editor Button in Editor Utility Widgets (using the Details View)

**URL:** <https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, Widget, question, Blueprint, UMG\
**Created:** [June 14, 2023, 8:48am UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769 "2023-06-14T08:48:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![codrx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/codrx/32/716523_2.png) [@codrx](https://forums.unrealengine.com/u/codrx)\
**Post date:** [June 14, 2023, 8:48am UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/1 "2023-06-14T08:48:37Z")

</div>

Hi, I have been having a lot of trouble finding a way to put a button in the Details View widget while using UMG to create my Editor Utility Widget. I know that the Details View supports buttons like these when events are labeled as “Call In Editor” and I would like to find out if there is some way that I can create a button that executes a function in a similar way, within my Editor Utility Widget.

 ![blutility](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/9/4f9310eab0f250f9ebaf1751ad7da1bc58538112.png)

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [June 14, 2023, 11:38am UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/2 "2023-06-14T11:38:25Z")

</div>

Hey @codrx

welcome to the community 🙂

So there are these methods one can use to add different things to the DetailsView (that I know of):

- Create a function and edit its category, e.g. “Functions”
- Create a variable and edit its category, e.g. “Properties”
- Create an event and set it to CallInEditor

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/1/c313e8520ff2b15da4f6657bd49f29a648142c93.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/1/64143536875d86bd4eb60d03389538d43351d2f4.png)

Let us know if that helps you or you mean something different 🙂

---

<div class="post-metadata">

**Author:** ![codrx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/codrx/32/716523_2.png) [@codrx](https://forums.unrealengine.com/u/codrx)\
**Post date:** [June 14, 2023, 12:08pm UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/3 "2023-06-14T12:08:40Z")

</div>

Hi, thanks for the warm welcome! This is the approach I’ve tried several times but it doesn’t seem to be working. I have retraced the steps you outlined in both 5.1.1 and 5.2 and I am not getting the same result as you. Where could I be going wrong?

Thanks so much for the helpful response!

 ![Event_Details](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/f/1df95f74169a51daf665842f80bc38f23d44b99f.png)  
 ![Function_Details](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/f/14fbc2035d10c47930d0c7648f39eb75835dfd43.png)  
 ![hierarchy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/8/8b8bc3b39f5d4d01efbbf2f71d1a6018b9e1df34.png)  
 ![Widget_Blueprint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/b/1fb128ea2a6954cdbb9331ae04e96de663b0aa64.png)  
 ![Widget_Blueprint_Graph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/8/3784d15ce0ae0c6e304f442b2b2eddc3a2fa85ce.png)

---

<div class="post-metadata">

**Author:** ![L1z4rD89](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/l1z4rd89/32/1194537_2.png) [@L1z4rD89](https://forums.unrealengine.com/u/L1z4rD89)\
**Post date:** [June 14, 2023, 1:26pm UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/4 "2023-06-14T13:26:05Z")

</div>

Hey @codrx

you are right. I thought it works but not in a EditorUtilityWidget. It works in a UserWidget with ParentClass EditorUtilityWidget which can not be run inside the editor…

So i created you a fix until someone else might tell you the correct answer to this 🙂

[UE52\_EditorUtilityWidget.zip](https://forums.unrealengine.com/uploads/short-url/7AjkheTrdatmoApHEJeKY21Em50.zip) (35.7 KB)

---

<div class="post-metadata">

**Author:** ![codrx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/codrx/32/716523_2.png) [@codrx](https://forums.unrealengine.com/u/codrx)\
**Post date:** [June 14, 2023, 1:51pm UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/5 "2023-06-14T13:51:03Z")

</div>

Hi!

Thank you so much for taking the time to help out! I think the functionality exists within Editor Utility Widget as I’ve seen it work in a video before. I will link that below with a timestamp to illustrate this. I will continue trying to solve this problem in the meantime. However, your workaround is also very cool and should be the perfect stop-gap solution to my current problem! Once again, thank you so much!

Video: [Clip begins at 56:37](https://www.youtube.com/live/mwc4NsB70lo?feature=share&t=3397)

---

<div class="post-metadata">

**Author:** ![codrx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/codrx/32/716523_2.png) [@codrx](https://forums.unrealengine.com/u/codrx)\
**Post date:** [June 14, 2023, 2:04pm UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/6 "2023-06-14T14:04:15Z")

</div>

So it turns out that the video in the previous post did not make its functions in a raw Editor Utility Widget but in an Editor Utility Object, which was then used as a base for the Editor Utility Widget, much like your workaround. I think this is probably the only way to handle creating functions in the Editor Utility Widgets so far. Hopefully that functionality can be added later.

Thanks for all the help!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 14, 2023, 2:04pm UTC](https://forums.unrealengine.com/t/blutility-button-call-in-editor-button-in-editor-utility-widgets-using-the-details-view/1198769/7 "2023-07-14T14:04:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
