# Document Datatype No Longer Allows Its Base Structure to Change to Array

**URL:** <https://forum.inductiveautomation.com/t/document-datatype-no-longer-allows-its-base-structure-to-change-to-array/40116>\
**Category:** Ignition Early Access\
**Created:** [October 28, 2020, 8:35pm UTC](https://forum.inductiveautomation.com/t/document-datatype-no-longer-allows-its-base-structure-to-change-to-array/40116 "2020-10-28T20:35:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swolnisty](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@swolnisty](https://forum.inductiveautomation.com/u/swolnisty)\
**Post date:** [October 28, 2020, 8:35pm UTC](https://forum.inductiveautomation.com/t/document-datatype-no-longer-allows-its-base-structure-to-change-to-array/40116/1 "2020-10-28T20:35:10Z")

</div>

In previous version of Ignition 8, when editing the value property of a memory tag of data type document, I believe you used to be able to right click on the base object and change it to an array. In version 8.0.13 on, I’m not seeing this ability. The “change to” option is greyed out:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/b/eb5abb112368bc8083e7ae02f4b13b9ae5c3697a.png)

Was this changed intentionally? I noticed that if you export the tag and modify the JSON so that the value is an array, then reimport the tag, Ignition seems to handle the base structure being an array just fine:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/9/89726dd05ae54b4655be92a03b6d03c25b55e940.png)

---

<div class="post-metadata">

**Author:** ![jaaortega](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jaaortega/32/15992_2.png) [@jaaortega](https://forum.inductiveautomation.com/u/jaaortega)\
**Post date:** [May 5, 2022, 4:02am UTC](https://forum.inductiveautomation.com/t/document-datatype-no-longer-allows-its-base-structure-to-change-to-array/40116/2 "2022-05-05T04:02:40Z")

</div>

Thanks for the headsup on this and the great work around.

Id also like to point out that you might still need to use something like system.util.jsonEncode on the values before being able to write to this tag.
