# Passing Params from One Embedded View to Another Embedded View Using system.perspective.navigate()

**URL:** <https://forum.inductiveautomation.com/t/passing-params-from-one-embedded-view-to-another-embedded-view-using-system-perspective-navigate/98372>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 7, 2024, 11:48pm UTC](https://forum.inductiveautomation.com/t/passing-params-from-one-embedded-view-to-another-embedded-view-using-system-perspective-navigate/98372 "2024-11-07T23:48:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveO](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steveo/32/55271_2.png) [@SteveO](https://forum.inductiveautomation.com/u/SteveO)\
**Post date:** [November 7, 2024, 11:48pm UTC](https://forum.inductiveautomation.com/t/passing-params-from-one-embedded-view-to-another-embedded-view-using-system-perspective-navigate/98372/1 "2024-11-07T23:48:58Z")

</div>

I have two (2) views I use as templates for embedding in other views:

1. _tile-view-base_:  

2. _tile-view-minimal_:  

_tile-view-base_ is embedded in the view _pulse_:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/9/99c1bcbe689da5c330355059f4b7c65dd99ce47b.png)

Here are the exposed prams for _tile-view-base_ as embedded in the view _pulse_:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/4/643acf91b8edea7ab60e2acebc2fe41529a07c56.png)

_tile-view-minimal_ is embedded in the view _pulse-screenshot_:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/b/1ba932dd5763ed4867985590ad8265e9b389c4f2.png)

Here are the exposed prams for _tile-view-minimal_ as an embedded view in the view _pulse-screenshot_:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/3/63aea511c0c950e32fccc8dbaf888c77f08578c4.png)

Each of the embedded view params are bound to params of the containing view(s).

The two templates as embedded in containing views are designed such that _tile-view-base_ employs a Button and onClick event to navigate to a new browser tab displaying the containing view with embedded _tile-view-minimal_:

```python
def runAction(self, event):
	
	newPage = self.view.params.tileViewMinimalURL
	myParams = {"selectPortfolio":self.view.params.selectPortfolio,
				"chartTitle":self.view.params.chartTitle,
				"dataMetric":self.view.params.dataMetric}
				
	system.perspective.print("\nnewPage: " + str(newPage) + "\n" + "myParams: " + str(myParams))
				
	system.perspective.navigate(page=newPage, newTab=True, params=myParams)

```

The concept here is to take the view params from _pulse_ (which are bound to params of embedded _tile-view-base_) and pass them to the _pulse-screenshot_ view params (which are bound to params of embedded _tile-view-minimal_)

The nav call indeed launches the view _pulse-screenshot_ in a new browser tab as expected but none the of params that I'm attempting to pass find there way to the target embedded view _tile-view-minimal_.

It is further noted that the console printed message in runAction displays the proper params values in myParams dictionary.

Any help with this attempt to pass params between embedded views is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Gavin\_Tipker](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@Gavin\_Tipker](https://forum.inductiveautomation.com/u/Gavin_Tipker)\
**Post date:** [November 8, 2024, 1:58pm UTC](https://forum.inductiveautomation.com/t/passing-params-from-one-embedded-view-to-another-embedded-view-using-system-perspective-navigate/98372/2 "2024-11-08T13:58:46Z")

</div>

Hey Steve, it seems you can't pass params to a view when you open it in a new tab or at least it isn't work for me. What I did as a work around is send a message with the scope set to session and delay that message by a second or 2 to allow the other tab to open up. Then on the new tab, write a message script with scope set to session and receive the params you passed as the message payload.

View calling the navigation

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

New tab view

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/75e0990c7c731c747578387aba7273a24e3d3575.png)

---

<div class="post-metadata">

**Author:** ![ryan.perretta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.perretta/32/75110_2.png) [@ryan.perretta](https://forum.inductiveautomation.com/u/ryan.perretta)\
**Post date:** [November 8, 2024, 2:22pm UTC](https://forum.inductiveautomation.com/t/passing-params-from-one-embedded-view-to-another-embedded-view-using-system-perspective-navigate/98372/3 "2024-11-08T14:22:29Z")

</div>

Another solution would be to use [URL Query Parameters](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/pages-in-perspective#url-query-parameters) if you are only interested in passing in the few string values. If you need to pass the datasets `chartData` and `tableData` from this page and can't load that data in the new view I would probably use @Gavin_Tipker 's solution
