# Widget Exposed Variable Fails to Capture Value Which Is Set During Construction

**URL:** <https://forums.unrealengine.com/t/widget-exposed-variable-fails-to-capture-value-which-is-set-during-construction/2018028>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [September 12, 2024, 5:14pm UTC](https://forums.unrealengine.com/t/widget-exposed-variable-fails-to-capture-value-which-is-set-during-construction/2018028 "2024-09-12T17:14:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 13, 2024, 8:26am UTC](https://forums.unrealengine.com/t/widget-exposed-variable-fails-to-capture-value-which-is-set-during-construction/2018028/4 "2024-09-13T08:26:27Z")

</div>

> I am constructing my widget

This is a `List View` and that’s **not** how they work, you never add _widgets_ to list views directly. You add `data objects` instead and the list view instantiates the widgets for you. Better have a look at a List View tutorial.

* * *

A crude random crash course example:

> [@Creating a combat log in Blueprint](https://forums.unrealengine.com/t/creating-a-combat-log-in-blueprint/150005/10):
>
> No problem, if you want to experiment with the List View instead: create an Object class blueprint in the content browser with an exposed text variable - it will be used to store data in the list view, called Entry Data below. once you have it, you can do this in the wLogLine’s class settings: The Implemented Interfaces bit on the left is the critical part here! It allows you to pull the data from a list view object and assign it to the widget’s variable. Th…

---

_[View the full topic](https://forums.unrealengine.com/t/widget-exposed-variable-fails-to-capture-value-which-is-set-during-construction/2018028)._
