# DriverTag how to store a dataset?

**URL:** <https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684>\
**Category:** Module Development\
**Tags:** sdk\
**Created:** [May 6, 2019, 12:12pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684 "2019-05-06T12:12:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 6, 2019, 12:12pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/1 "2019-05-06T12:12:14Z")

</div>

Ignition 7.9.10  
I try to store a Dataset in a **DriverTag** but DataType have no DatasetType ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 6, 2019, 2:12pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/2 "2019-05-06T14:12:51Z")

</div>

You can’t, Dataset is an Ignition datatype, not an OPC UA datatype.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 6, 2019, 2:48pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/3 "2019-05-06T14:48:05Z")

</div>

Ok, I see. I will try to use Array for each column.

I hoped it was possible because in the designer, we can choose Dataset for OPC tag datatype, but not in the Source Data Type. I suppose it’s just for data cast purpose (Array =\> Dataset with 1 comumn ?)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 6, 2019, 2:51pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/4 "2019-05-06T14:51:16Z")

</div>

I’m not sure if that dropdown is even aware of the type of tag it’s being used on. I don’t know what implicit casts are done, if any.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 6, 2019, 3:42pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/5 "2019-05-06T15:42:06Z")

</div>

can we store Array Value in DriverTag ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 6, 2019, 3:44pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/6 "2019-05-06T15:44:48Z")

</div>

No that won’t work either. It might allow you to set an array value without error but the OPC UA node wouldn’t have the proper ArrayDimension and ValueRank attributes set.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 6, 2019, 3:54pm UTC](https://forum.inductiveautomation.com/t/drivertag-how-to-store-a-dataset/24684/7 "2019-05-06T15:54:06Z")

</div>

too bad, to avoid too much code refactoring I will need to serialize the result in a string tag…😢
