# Niagara Dynamic Input Script doesn't work with "Data Value" input, but "Linked Value" works. (4.27)

**URL:** <https://forums.unrealengine.com/t/niagara-dynamic-input-script-doesnt-work-with-data-value-input-but-linked-value-works-4-27/264031>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [December 3, 2021, 8:42pm UTC](https://forums.unrealengine.com/t/niagara-dynamic-input-script-doesnt-work-with-data-value-input-but-linked-value-works-4-27/264031 "2021-12-03T20:42:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renzokuken0515](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/renzokuken0515/32/629985_2.png) [@Renzokuken0515](https://forums.unrealengine.com/u/Renzokuken0515)\
**Post date:** [December 3, 2021, 8:42pm UTC](https://forums.unrealengine.com/t/niagara-dynamic-input-script-doesnt-work-with-data-value-input-but-linked-value-works-4-27/264031/1 "2021-12-03T20:42:19Z")

</div>

It’s weird. Since they’re confidential contents, I’ll try to describe the issue here.

In brief, I have a dynamic input script and define some module inputs for use.

In Niagara system, I add this script under Particle Update module, and setup the value with Niagara Parameter Collection. It works well.

But we want to expose it on the panel in Niagara system instead of creating parameter collection file for it. So, I tried to set it up as data value. And It doesn’t work anymore.

What might be the reason behind this? Does NDIS support linked value for UCLASS() only?  
The input data is just a simple Niagara Data Interface class:

UCLASS(EditInlineNew, Category = “Dynamic Input Test”, meta = (DisplayName = “My Dynamic”))  
class MYRUNTIME\_API UMyDynamicNDI : public UNiagaraDataInterface  
{  
GENERATED\_UCLASS\_BODY()

```
   UPROPERTY(EditAnywhere, Category = "Test Indices")
   TArray<int32> TestIndices;

   UPROPERTY(EditAnywhere, Category = "Some other struct")
   TArray<FSomeOtherStruct> TestData;

   // ....... Other necessary overriding ........ //

```

}

Thanks!

---

<div class="post-metadata">

**Author:** ![Renzokuken0515](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/renzokuken0515/32/629985_2.png) [@Renzokuken0515](https://forums.unrealengine.com/u/Renzokuken0515)\
**Post date:** [December 3, 2021, 8:53pm UTC](https://forums.unrealengine.com/t/niagara-dynamic-input-script-doesnt-work-with-data-value-input-but-linked-value-works-4-27/264031/2 "2021-12-03T20:53:12Z")

</div>

Minor update: Read from new user parameter doesn’t work as well.  
It only works with Niagara Collection Parameter :(.

---

<div class="post-metadata">

**Author:** ![Renzokuken0515](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/renzokuken0515/32/629985_2.png) [@Renzokuken0515](https://forums.unrealengine.com/u/Renzokuken0515)\
**Post date:** [December 8, 2021, 3:37pm UTC](https://forums.unrealengine.com/t/niagara-dynamic-input-script-doesnt-work-with-data-value-input-but-linked-value-works-4-27/264031/3 "2021-12-08T15:37:55Z")

</div>

Okay, I just solved it.  
If you want to setup properties on property window.  
Be sure to override CopyToInternal() function from UNiagaraDataInterface.  
It will be called after PostEditChangeProperty, and transfer parameters to Niagara system.
