# File picker for blueprint property?

**URL:** <https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392>\
**Category:** Blueprint\
**Tags:** property, unreal-engine, editor, CPP, Blueprint, question\
**Created:** [December 25, 2015, 9:27am UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392 "2015-12-25T09:27:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eklmv](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eklmv](https://forums.unrealengine.com/u/eklmv)\
**Post date:** [December 25, 2015, 9:27am UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/1 "2015-12-25T09:27:20Z")

</div>

I have FString property which specifies some file in game content folder.  
For now in blueprint, i must write path by hand. Is there some functionality, to add simple file picker for this property in blueprint editor?

---

<div class="post-metadata">

**Author:** ![Zarkopafilis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zarkopafilis](https://forums.unrealengine.com/u/Zarkopafilis)\
**Post date:** [December 25, 2015, 10:09am UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/2 "2015-12-25T10:09:30Z")

</div>

Do you want this to be triggered inside the game or in the editor?

---

<div class="post-metadata">

**Author:** ![eklmv](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eklmv](https://forums.unrealengine.com/u/eklmv)\
**Post date:** [December 25, 2015, 10:25am UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/3 "2015-12-25T10:25:33Z")

</div>

In editor.

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [December 25, 2015, 3:59pm UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/4 "2015-12-25T15:59:32Z")

</div>

Not that i know of, if you seen one in editor in property editor then try to find it’s existance in engine source code, or just tell here and i (or me ;p) will find out how it was done

Otherwise you would need to make your own type (can be simple structure) and property UI for it (same as for example you use UClass\* it will show you all classes picker combo box). i never did so you need to reserch how to do it, i can give you some starter hints:

> **[Details Panel Customization](https://docs.unrealengine.com/5.1/en-US/details-panel-customization-in-unreal-engine/)**
>
> Guide to customizing the display of properties in the Details panels within Unreal Editor.

Search for “RegisterCustomPropertyTypeLayout” and “RegisterCustomClassLayout” in UE4 giuthub, it leads to functions that registers cutom property layout in module class (when start up module), it lead to custom property layout class, there seems ot be many examples in UE4 source code, try to figure it out and replicate it

Because Slate don’t use reflection system lot of editor components (like editor for specific asset type) need registered manually on module start up and unreagister on module stop, that general hint if you propbe editor stuff, usally this happens when you see some class without reflection (without UCLASS()) if there such a class and it used soemwhere seamlessly most likely there function that register this usally in module startup, other wise editor would not know how to use it and not even know it exists…

As for open dialog, theres that:

> **[IDesktopPlatform::OpenFileDialog](https://docs.unrealengine.com/5.1/en-US/API/Developer/DesktopPlatform/IDesktopPlatform/OpenFileDialog/1/)**
>
> Opens the

and you access IDesktopPlatfrom by doing this:

```
IDesktopPlatform* DesktopPlatform = FDesktopPlatformModule::Get();

```

---

<div class="post-metadata">

**Author:** ![eklmv](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eklmv](https://forums.unrealengine.com/u/eklmv)\
**Post date:** [December 26, 2015, 6:20am UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/5 "2015-12-26T06:20:15Z")

</div>

Thanks for your answer, for now it look way more easyer to write path by hand. 🙂

---

<div class="post-metadata">

**Author:** ![EJaworenko1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ejaworenko1/32/575974_2.png) [@EJaworenko1](https://forums.unrealengine.com/u/EJaworenko1)\
**Post date:** [May 15, 2023, 6:20pm UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/6 "2023-05-15T18:20:19Z")

</div>

Any chance there has been a way to do this that was developed in the last 7years?

---

<div class="post-metadata">

**Author:** ![UberHero98](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uberhero98/32/755945_2.png) [@UberHero98](https://forums.unrealengine.com/u/UberHero98)\
**Post date:** [December 16, 2023, 1:06am UTC](https://forums.unrealengine.com/t/file-picker-for-blueprint-property/342392/7 "2023-12-16T01:06:38Z")

</div>

Here’s something similar I wrote about it!

[Import an Image from Explorer in Runtime - Development / Programming & Scripting - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/import-an-image-from-explorer-in-runtime/1528872)
