# Bug: system.perspective.alterdock doesn't work correctly if more than 1 dock is defined

**URL:** <https://forum.inductiveautomation.com/t/bug-system-perspective-alterdock-doesnt-work-correctly-if-more-than-1-dock-is-defined/112235>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 17, 2025, 4:46pm UTC](https://forum.inductiveautomation.com/t/bug-system-perspective-alterdock-doesnt-work-correctly-if-more-than-1-dock-is-defined/112235 "2025-11-17T16:46:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Nol](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nol](https://forum.inductiveautomation.com/u/Nol)\
**Post date:** [November 17, 2025, 4:47pm UTC](https://forum.inductiveautomation.com/t/bug-system-perspective-alterdock-doesnt-work-correctly-if-more-than-1-dock-is-defined/112235/2 "2025-11-17T16:47:42Z")

</div>

I did find this reference when trying to originally look into this issue. I thought I’d post my findings in hopes of this issue getting some attention as the original issue from 2022 still hasn’t been looked at. I hope narrowing it down and providing more troubleshooting steps can maybe get IA to consider looking at this.

> [@\[IGN-6743\] system.perspective.alterDock can only resize one dock at a time?](https://forum.inductiveautomation.com/t/ign-6743-system-perspective-alterdock-can-only-resize-one-dock-at-a-time/65306/2):
>
> alterDock takes a dockID as a required parameter. Are your docks the same ID and only 1 is being affected? If this is your case, I would create 3 unique dockIDs and call the function 3 times. ex. dockConfig = {} system.perspective.alterDock(leftDock, dockConfig) system.perspective.alterDock(rightDock, dockConfig) system.perspective.alterDock(topDock, dockConfig)

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-system-perspective-alterdock-doesnt-work-correctly-if-more-than-1-dock-is-defined/112235)._
