# Copy paste component loses position!

**URL:** <https://forum.inductiveautomation.com/t/copy-paste-component-loses-position/95067>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 23, 2024, 9:32am UTC](https://forum.inductiveautomation.com/t/copy-paste-component-loses-position/95067 "2024-08-23T09:32:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Bermejo](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Sam\_Bermejo](https://forum.inductiveautomation.com/u/Sam_Bermejo)\
**Post date:** [August 23, 2024, 9:32am UTC](https://forum.inductiveautomation.com/t/copy-paste-component-loses-position/95067/1 "2024-08-23T09:32:20Z")

</div>

Hi all, I'm using Ignition Perspective. I have a bunch of embedded views in a screen, and what I want to do is to copy all the embedded views into a json file, change their names, and then paste them again in the screen. But the issue I'm having is that although I don't change the position at all (x and y position) , when I paste all the embedded views, these are not pasted in the correct location, and the x and y positions are changed. I'm using Ignition 8.1.22 and coordinate containers. Is there a way to solve this? Is this a bug? Any recommendations?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [August 23, 2024, 11:09am UTC](https://forum.inductiveautomation.com/t/copy-paste-component-loses-position/95067/2 "2024-08-23T11:09:18Z")

</div>

How are you doing the copy/paste ?

---

<div class="post-metadata">

**Author:** ![Adarsh\_K](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Adarsh\_K](https://forum.inductiveautomation.com/u/Adarsh_K)\
**Post date:** [August 23, 2024, 11:15am UTC](https://forum.inductiveautomation.com/t/copy-paste-component-loses-position/95067/3 "2024-08-23T11:15:28Z")

</div>

When copying embedded views in Ignition Perspective, especially within coordinate containers, ensure that the mode of the container (either "percent" or "fixed") remains consistent when pasting the views back. The difference in modes can cause the coordinates (x and y positions) to shift. To avoid this, check that the coordinate container in the destination matches the mode of the original container. If they match and the issue .

---

<div class="post-metadata">

**Author:** ![Sam\_Bermejo](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Sam\_Bermejo](https://forum.inductiveautomation.com/u/Sam_Bermejo)\
**Post date:** [September 3, 2024, 10:14am UTC](https://forum.inductiveautomation.com/t/copy-paste-component-loses-position/95067/4 "2024-09-03T10:14:44Z")

</div>

Hi All, The only way of solving this was to export the screen, then unzip it, modify the json file, zip it again and import it. If I do a copy paste, for some reason the x y position of the objects is messed up.
