# Get Dock Details from within Perspective session

**URL:** <https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 10, 2021, 2:12am UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516 "2021-05-10T02:12:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan.dehoog](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nathan.dehoog/32/11903_2.png) [@nathan.dehoog](https://forum.inductiveautomation.com/u/nathan.dehoog)\
**Post date:** [May 10, 2021, 2:12am UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516/1 "2021-05-10T02:12:24Z")

</div>

Does anyone know if there is a way to get the details of a dock in perspective.  
I would like to determine if a dock is visible or hidden from a different view running in the same client perspective session.  
As far as I can tell, running system.perspective.getSessionInfo() will only return active dock page ids for designer sessions.

---

<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:** [May 10, 2021, 5:57am UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516/2 "2021-05-10T05:57:02Z")

</div>

Docks and Popups are separate from Pages insofar as properties are concerned. That is to say, Pages (and by extension Sessions) have no insight into the status of whether a Docked View or a Popup is open. This is the main reason you only see "open/close/toggle) functions and not something like `popupIsOpen()` or `dockIsOpen()`.

If you could explain why you need to know if the dock is open, I might be able to provide a workaround.

---

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [September 2, 2021, 2:35pm UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516/3 "2021-09-02T14:35:57Z")

</div>

I have a dock window that opens with the handle icon, and I need to know when the dock window is open to put an initial animation of a component inside the docked window

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [September 3, 2021, 12:33pm UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516/4 "2021-09-03T12:33:48Z")

</div>

> [@lachguerabdallah](#):
>
> put an initial animation of a component inside the

I am looking for the similar approach.. I need to refresh docked view content whenever its opened

---

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [September 3, 2021, 1:17pm UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516/5 "2021-09-03T13:17:33Z")

</div>

i think i have to use a button component for toggle the docked and refresh

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [September 3, 2021, 2:03pm UTC](https://forum.inductiveautomation.com/t/get-dock-details-from-within-perspective-session/46516/6 "2021-09-03T14:03:40Z")

</div>

Using a button does not allow you to use ‘modal’ docked view
