# FDataTableRowHandle using meta = (RequiredAssetDataTags = "RowStructure=S\_StructName")?

**URL:** <https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013>\
**Category:** C++\
**Tags:** unreal-engine, UE4-26, Blueprint, CPP, question\
**Created:** [April 8, 2022, 10:57pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013 "2022-04-08T22:57:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 8, 2022, 10:57pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/1 "2022-04-08T22:57:27Z")

</div>

Is it possible to limit the UDataTable Property within an FDataTableRowHandle struct to a specific struct type?

The next example is not working for the FDataTableRowHandle. Is there a solution?

```auto
UPROPERTY(meta = (RequiredAssetDataTags = "RowStructure=S_StructName"))
  FDataTableRowHandle DT = FDataTableRowHandle();

```

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [April 11, 2022, 10:13am UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/2 "2022-04-11T10:13:12Z")

</div>

```auto
UPROPERTY(meta = (RowType="MyStruct"))
UDataTable* Table;

```

OR

```auto
UPROPERTY(meta = (RowType="MyStruct"))
FDataTableRowHandle RowHandle;

```

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 11, 2022, 2:17pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/3 "2022-04-11T14:17:48Z")

</div>

> [@Jambax](#):
>
> `RowType`

Thanks, this is very useful info. I think it is not yet in docs.unrealengine.  
I’m going to test it asap.

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 11, 2022, 2:47pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/4 "2022-04-11T14:47:19Z")

</div>

Perfect, thanks again. Structs name in RowType is entered without the F prefix.  
Can this information be added to: ?

> **[Metadata Specifiers](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/GameplayArchitecture/Metadata/)**
>
> Metadata keywords used when declaring UClasses, UFunctions, UProperties, UEnums, and UInterfaces to specify how they behave with various aspects of Unreal Engine and the editor

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [April 12, 2022, 11:01am UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/5 "2022-04-12T11:01:13Z")

</div>

The vast majority of custom meta specifiers are not in that documentation page because it’s auto-generated from the global ones.

Items like “RowType” are part of special Detail Customisation classes that look for custom meta markup. Unfortuantely there’s no easy way to parse them all.

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [November 3, 2023, 4:42pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/6 "2023-11-03T16:42:24Z")

</div>

> [@Jambax](#):
>
> ```auto
> UPROPERTY(meta = (RowType="MyStruct"))
> UDataTable* Table;
> 
> ```

In UE 5.2 this no longer works for UDataTable, in order to make it work you need to use this:

```auto
UPROPERTY(Meta=(RequiredAssetDataTags = "RowStructure=/Script/Aura.UIWidgetRow"))
TObjectPtr<UDataTable> MessageWidgetDataTable;

```

You can find the exact name here (picture below), it’s usually ModuleName.StructName (without the initial F)

 ![screen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/c/8bc0984c1e0e7cfcf4f8be047c92f0aca99e7b59.png)

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [December 17, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/7 "2023-12-17T15:04:02Z")

</div>

Funny thing, you can’t add spaces before and after `=`  
`RowStructure=/Script/` works.  
`RowStructure = /Script/` does not.

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [December 17, 2023, 3:38pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/8 "2023-12-17T15:38:35Z")

</div>

Thanks for letting us know 🙂 I’m always formatting things with spaces, this is easy to break then.

---

<div class="post-metadata">

**Author:** ![MaselinoM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaselinoM](https://forums.unrealengine.com/u/MaselinoM)\
**Post date:** [May 7, 2024, 8:44am UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/9 "2024-05-07T08:44:07Z")

</div>

Just wanted to add that in 5.3 this indeed works:

```auto
UPROPERTY(meta = (RowType="/Script/Aura.UiWidgetRow"))
FDataTableRowHandle MessageWidgetDataTable;

```

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [May 7, 2024, 12:48pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/10 "2024-05-07T12:48:59Z")

</div>

> [@MaselinoM](#):
>
> Just wanted to add that in 5.3 this indeed works:

Nice to know! I like this better than the previous just because it’s shorter!  
May I ask where did you find this info?

Does this work only with `FDataTableRowHandle` or also with `UDataTable` ?

---

<div class="post-metadata">

**Author:** ![imtrobin2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imtrobin2](https://forums.unrealengine.com/u/imtrobin2)\
**Post date:** [May 10, 2024, 4:31am UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/11 "2024-05-10T04:31:00Z")

</div>

Fairly sure it does not work with datatable in 5.3

---

<div class="post-metadata">

**Author:** ![MaselinoM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaselinoM](https://forums.unrealengine.com/u/MaselinoM)\
**Post date:** [May 15, 2024, 12:31pm UTC](https://forums.unrealengine.com/t/fdatatablerowhandle-using-meta-requiredassetdatatags-rowstructure-s-structname/521013/12 "2024-05-15T12:31:11Z")

</div>

I did not “find” this info, I just tried it out and am actively using it in my code 😃  
Quickly tested the same meta attribute with UDataTable, no success though.
