# Can a container type be changed after the fact?

**URL:** <https://forum.inductiveautomation.com/t/can-a-container-type-be-changed-after-the-fact/75991>\
**Category:** Ignition\
**Created:** [July 6, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/can-a-container-type-be-changed-after-the-fact/75991 "2023-07-06T13:24:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian.sebryk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ian.sebryk/32/49319_2.png) [@ian.sebryk](https://forum.inductiveautomation.com/u/ian.sebryk)\
**Post date:** [July 6, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/can-a-container-type-be-changed-after-the-fact/75991/1 "2023-07-06T13:24:25Z")

</div>

i built a view, added components... and realized i built it in the wrong container type. 💩 can i change the container type or do i have to rebuild this whole thing? presuming 'yes', but have room for 'no'. 🙂

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [July 6, 2023, 1:38pm UTC](https://forum.inductiveautomation.com/t/can-a-container-type-be-changed-after-the-fact/75991/2 "2023-07-06T13:38:04Z")

</div>

Yes and no, don't be a stranger to the search bar on this forum. 🙂  
[https://forum.inductiveautomation.com/search?q=perspective%20change%20container%20type](https://forum.inductiveautomation.com/search?q=perspective%20change%20container%20type)

---

<div class="post-metadata">

**Author:** ![ian.sebryk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ian.sebryk/32/49319_2.png) [@ian.sebryk](https://forum.inductiveautomation.com/u/ian.sebryk)\
**Post date:** [July 6, 2023, 1:39pm UTC](https://forum.inductiveautomation.com/t/can-a-container-type-be-changed-after-the-fact/75991/3 "2023-07-06T13:39:38Z")

</div>

fair point. apologies.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [July 6, 2023, 1:40pm UTC](https://forum.inductiveautomation.com/t/can-a-container-type-be-changed-after-the-fact/75991/4 "2023-07-06T13:40:20Z")

</div>

You can copy the view JSON and then change the type of the root container, and paste the JSON back.

> [@Convert container type](https://forum.inductiveautomation.com/t/convert-container-type/27409/2):
>
> If you shift+right-click a view and select “Copy JSON” you can paste that into a text editor, then change the root object “type” property. From there you can copy the new edited JSON and shift+right-click the view again and select “Paste JSON” and then it should update. Keep in mind when you do this, all the components within the view will not update their Position properties to look anything like it did before the root was converted. They will get some defaults that may not make a whole lot of…
