# Passing parameter to popup window with perspective.openPopup

**URL:** <https://forum.inductiveautomation.com/t/passing-parameter-to-popup-window-with-perspective-openpopup/32283>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 14, 2020, 5:01pm UTC](https://forum.inductiveautomation.com/t/passing-parameter-to-popup-window-with-perspective-openpopup/32283 "2020-02-14T17:01:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![preston.j.williams](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@preston.j.williams](https://forum.inductiveautomation.com/u/preston.j.williams)\
**Post date:** [February 14, 2020, 5:01pm UTC](https://forum.inductiveautomation.com/t/passing-parameter-to-popup-window-with-perspective-openpopup/32283/1 "2020-02-14T17:01:49Z")

</div>

I am trying to open a popup window with system.perspective.openPopup.

The popup window has a PARAM passed in called Date that comes from previous window

This works if I pass the parameter using the “traditional” method.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f06b7b6c282a442a05b46e5c43b9649d85ce0c37.png)

When I try to do this in scripting, I can’t seem to get the date to pass.

```auto
system.perspective.openPopup('WINDOW_UPUP', 'Small Views/CheckOutConfirmation', params = {'Date': view.params.Date})

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![preston.j.williams](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@preston.j.williams](https://forum.inductiveautomation.com/u/preston.j.williams)\
**Post date:** [February 14, 2020, 5:19pm UTC](https://forum.inductiveautomation.com/t/passing-parameter-to-popup-window-with-perspective-openpopup/32283/2 "2020-02-14T17:19:08Z")

</div>

Hoping this can help someone in the future.

I was able to get this to work by passing in the Identifer on the “Configure Popup Action” to the id in the script.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7ccef3c648e1f2913df504b3a03c73f4cc49eb9c.png)

```auto
system.perspective.openPopup('WINDOW_UPUP', ...

```

is now

```auto
system.perspective.openPopup('SA1fm1r9', ...

```
