# Change Root Container Type To a View that Has already been Created

**URL:** <https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 26, 2021, 11:12pm UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218 "2021-07-26T23:12:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![evanwolfe2525](https://avatars.discourse-cdn.com/v4/letter/e/b2d939/32.png) [@evanwolfe2525](https://forum.inductiveautomation.com/u/evanwolfe2525)\
**Post date:** [July 26, 2021, 11:12pm UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/1 "2021-07-26T23:12:37Z")

</div>

Is there a way to change the root container type of an EXISTING view?

Thank you.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [July 27, 2021, 12:55am UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/2 "2021-07-27T00:55:57Z")

</div>

No, once you select the root container type, you’re locked in.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 27, 2021, 2:41am UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/3 "2021-07-27T02:41:23Z")

</div>

Unless of course you change it in the json, but you’ll also then need to fix up your component position props as well. I wrote a script to do this for me

---

<div class="post-metadata">

**Author:** ![evanwolfe2525](https://avatars.discourse-cdn.com/v4/letter/e/b2d939/32.png) [@evanwolfe2525](https://forum.inductiveautomation.com/u/evanwolfe2525)\
**Post date:** [July 28, 2021, 10:31pm UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/4 "2021-07-28T22:31:21Z")

</div>

Thank you both.

---

<div class="post-metadata">

**Author:** ![eduardo.ojalvo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eduardo.ojalvo/32/14356_2.png) [@eduardo.ojalvo](https://forum.inductiveautomation.com/u/eduardo.ojalvo)\
**Post date:** [February 15, 2022, 3:19pm UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/5 "2022-02-15T15:19:24Z")

</div>

It´s great!!!  
I was looking for how to do it.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [September 22, 2022, 9:21am UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/6 "2022-09-22T09:21:09Z")

</div>

@nminchin can you please share where to find the json associated with the root container? how complex is the script to change container type? regards

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 22, 2022, 11:02am UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/7 "2022-09-22T11:02:21Z")

</div>

Shift + right click on the view and there’s a copy and paste json option. Otherwise, you can also edit the View’s json in the file in the file system itself

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [September 22, 2022, 11:27am UTC](https://forum.inductiveautomation.com/t/change-root-container-type-to-a-view-that-has-already-been-created/49218/8 "2022-09-22T11:27:13Z")

</div>

that’s great - i will add this skill to my toolbox 🙂
