# Perspective: Can't open dock from popup (because I'm an idiot)

**URL:** <https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [January 30, 2021, 3:00pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783 "2021-01-30T15:00:57Z")\
**Posts on this page:** 10\
**Page:** 1

<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:** [January 30, 2021, 3:00pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/1 "2021-01-30T15:00:57Z")

</div>

I’m trying to open a dock from a button in a popup, but nothing happens when I click on the button. I’ve tried both the Dock action and via a script action. I can use the same commands from a button on a normal, non-popup View

---

<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:** [February 2, 2021, 2:40am UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/2 "2021-02-02T02:40:57Z")

</div>

Bump. Is there a workaround for this?

---

<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:** [February 2, 2021, 6:01am UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/3 "2021-02-02T06:01:52Z")

</div>

Can you post the identifier for the Popup? (not the Dock) As a workaround until I can diagnose the issue, send a message from the popup, and place a handler on the main view and allow the handler to operate the Dock.

---

<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:** [February 2, 2021, 6:10am UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/4 "2021-02-02T06:10:04Z")

</div>

The popup is a single popup that I use for all devices where I have an embedded view that gets substituted out based on the device i’m showing and the popup id i’m opening them with is variable based on:  
`popupId = 'device-popup-%s-%s' % (deviceParentPath, deviceName)`  
where `deviceParentPath + '/' + deviceName` is the tag path to the device.  
For example:  
`device-popup-Winery/Area/Tank/Pump A`

The id of the confirm dock is:  
`confirm-action`

The button that calls to open the dock is from within the embedded view mentioned above, which itself is inside another nested embedded view:  
Device Popup -\> “Device View” Embedded View -\> “Runtime display” Embedded View -\> “Reset runhours” Button to open confirm dock

---

<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:** [February 2, 2021, 2:46pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/5 "2021-02-02T14:46:49Z")

</div>

If the identifier has any “/” characters, we’ve identified areas where Popups will fail to execute some Actions. See this post: [Perspective File Upload component onFileReceived not firing in a popup](http://forum.inductiveautomation.com/t/perspective-file-upload-component-onfilereceived-not-firing-in-a-popup/37418/6)

Just as an experiment, try modifying the identifier to something simple and see if it works so that we can verify this is the issue you’re encountering.

---

<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:** [February 2, 2021, 3:07pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/6 "2021-02-02T15:07:45Z")

</div>

Well that’s embarrassing… I only had the dock added to one particular page. I must have thought I’d selected Shared config, but really I was just configuring one page. It works now unchanged (i.e. still using the “/” in the popup id) after adding the confirm action dock into the shared config.

---

<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:** [February 2, 2021, 3:08pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/7 "2021-02-02T15:08:54Z")

</div>

Interesting. Okay.

---

<div class="post-metadata">

**Author:** ![tordvd](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tordvd/32/11525_2.png) [@tordvd](https://forum.inductiveautomation.com/u/tordvd)\
**Post date:** [February 2, 2021, 9:44pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/8 "2021-02-02T21:44:33Z")

</div>

Atleast you solved a forum post today 😛

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 2, 2021, 10:36pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/9 "2021-02-02T22:36:56Z")

</div>

Don’t be so hard on yourself–idiots don’t solve their own forum topics… (:

---

<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:** [February 2, 2021, 10:38pm UTC](https://forum.inductiveautomation.com/t/perspective-cant-open-dock-from-popup-because-im-an-idiot/42783/10 "2021-02-02T22:38:50Z")

</div>

Haha, that’s one way to think about it!
