# What is the best way to pass params between views who are not embedded?

**URL:** <https://forum.inductiveautomation.com/t/what-is-the-best-way-to-pass-params-between-views-who-are-not-embedded/67714>\
**Category:** Ignition\
**Created:** [December 16, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/what-is-the-best-way-to-pass-params-between-views-who-are-not-embedded/67714 "2022-12-16T14:07:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theodorska](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@Theodorska](https://forum.inductiveautomation.com/u/Theodorska)\
**Post date:** [December 16, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/what-is-the-best-way-to-pass-params-between-views-who-are-not-embedded/67714/1 "2022-12-16T14:07:32Z")

</div>

Hello,

I have a mainview that consist of a map-view and a selectbar-view. When I select something on the selectbar it navigates my map-view without a problem because the map-view and the selectbar-view are both embedded in the mainview and the selected parameter can be sent to the map  
( [Property/parameter binding between views - #4 by theodor\_skaufel](https://forum.inductiveautomation.com/t/property-parameter-binding-between-views/67286/4) ). However, I am having trouble figuring out the best way to pass the same navigational paramater to a view that is not embeded in the mainview.

This is for a marker popup on the map with information on the selected location that is shown on the map when selected in the selectbar-view.

The popupview is not embedded in the mainview as it is referenced directly from the map components marker-popup-function.

Should I use a message handler script or maybe embed the popup-view in the mainview but hide it?

I cannot write the param in question to a tag because multiple users will affect each others sessions by updating the same tag.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [December 16, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/what-is-the-best-way-to-pass-params-between-views-who-are-not-embedded/67714/2 "2022-12-16T15:32:42Z")

</div>

Unless I misunderstood, you are just trying to pass a parameter to a popup view? If so, you just include the params when you call [system.perspective.openPopup()](https://docs.inductiveautomation.com/display/DOC81/system.perspective.openPopup)

IE

```python
# Opens a popup view. We are passing in two parameters, called "myParam" and "myParam2". We also set some additional properties of the popup.
system.perspective.openPopup("myPopupId",'folder/myView', params = {'myParam':1,'myParam2':'Test'}, showCloseIcon = False, resizable = True)

```

---

<div class="post-metadata">

**Author:** ![Theodorska](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@Theodorska](https://forum.inductiveautomation.com/u/Theodorska)\
**Post date:** [December 17, 2022, 6:41pm UTC](https://forum.inductiveautomation.com/t/what-is-the-best-way-to-pass-params-between-views-who-are-not-embedded/67714/3 "2022-12-17T18:41:12Z")

</div>

It is the popup under the marker-function on the map component. It is my understanding that this is a different type of popup

---

<div class="post-metadata">

**Author:** ![Theodorska](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@Theodorska](https://forum.inductiveautomation.com/u/Theodorska)\
**Post date:** [December 19, 2022, 11:09am UTC](https://forum.inductiveautomation.com/t/what-is-the-best-way-to-pass-params-between-views-who-are-not-embedded/67714/4 "2022-12-19T11:09:42Z")

</div>

ok, so I was stupid and did not hover over the params option under view within the map's marker.  
Just hover over params and it tells you how to achieve this

 ![Screenshot 2022-12-19 120659](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/f/5f3c148a0d9cd64f0f82238d16e380dcd27ebc7e.png)
