# Write Dataset to Array

**URL:** <https://forum.inductiveautomation.com/t/write-dataset-to-array/96035>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [September 16, 2024, 8:04pm UTC](https://forum.inductiveautomation.com/t/write-dataset-to-array/96035 "2024-09-16T20:04:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [September 16, 2024, 8:04pm UTC](https://forum.inductiveautomation.com/t/write-dataset-to-array/96035/1 "2024-09-16T20:04:07Z")

</div>

I have a string array that I'm using to initially populate a dataset on a view. The property's dataset is filled in via tag read on a change script, but I do not want it written until an "apply" button is clicked. So, because the array is read from the tag as a dataset and manipulated as such as well, how does one write back to that array tag?

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [September 16, 2024, 8:44pm UTC](https://forum.inductiveautomation.com/t/write-dataset-to-array/96035/2 "2024-09-16T20:44:40Z")

</div>

You can just write to it as a dataset, nothing special required.

```python
system.tag.writeBlocking(['[default]String_Array_Tag'], [system.dataset.toDataSet(['value'], [])])

```
