# How to access default parameter values on an embedded view

**URL:** <https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [March 5, 2025, 12:23am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254 "2025-03-05T00:23:58Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_E](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Alex\_E](https://forum.inductiveautomation.com/u/Alex_E)\
**Post date:** [March 5, 2025, 12:23am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/1 "2025-03-05T00:23:58Z")

</div>

Hi all,

_ **Question:** _  
How to access default view parameters without pulling them into an embedded view?

_ **Background:** _  
I'm working on a project where I want to include some information on my templates that will be available to the parent view when they are embedded elsewhere in the project.

In the below image, I would want to read the DATA array from other objects on the view where I embedded the template.

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

The forum link below discusses how default values will be used inside of templates if nothing is passed from the embedded view. I want to know if there is a way to read those default values without overwriting them on the embedded instance.

> [@Perspective Embedded View Parameters Do Not Update](https://forum.inductiveautomation.com/t/perspective-embedded-view-parameters-do-not-update/53592/5):
>
> there are a bunch of reasons here

Misc info:  
Ignition perspective version 8.1.45

Thanks in advance for any light you can shed on this issue,

Alex

---

<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:** [March 5, 2025, 12:31am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/2 "2025-03-05T00:31:38Z")

</div>

> [@Alex\_E](#):
>
> way to read those default values without overwriting them on the embedded instance.

Not from outside, no.

From inside, you cannot tell whether the parameter value was defaulted, or was explicitly set/bound to a value that happens to match the default.

The linked topic is basically a **design-time** phenomenon, not a **runtime** feature.

Perhaps you could share more detail about what you are really trying to do.

---

<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:** [March 5, 2025, 1:09am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/3 "2025-03-05T01:09:38Z")

</div>

> [@pturmel](#):
>
> From inside, you cannot tell whether the parameter value was defaulted, or was explicitly set/bound to a value that happens to match the default.

You can if you read the json definition of the View 🙂 Unless I'm misinterpretting the question..

---

<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:** [March 5, 2025, 1:11am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/4 "2025-03-05T01:11:41Z")

</div>

You'd have to read the definition of the **outer** view, and the inner view won't know which view it is embedded in.

---

<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:** [March 5, 2025, 1:15am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/5 "2025-03-05T01:15:26Z")

</div>

JS hacking might get you there  
 ![Eye Twitching GIFs - Find & Share on GIPHY](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/2/82a32a9abe5f9c1bcfd5a86976b4a58280ebf516.gif)

---

<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:** [March 5, 2025, 1:19am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/6 "2025-03-05T01:19:01Z")

</div>

Hah!

My sister in Missouri would say "Show Me!"

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 5, 2025, 7:41am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/7 "2025-03-05T07:41:22Z")

</div>

So am i getting this right?

You have a parent view with X "templates"  
And in your templates you want to read the default data from all the other templates inside the parent?

---

<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:** [March 5, 2025, 8:23am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/8 "2025-03-05T08:23:16Z")

</div>

Sounds right I think

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 5, 2025, 8:37am UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/9 "2025-03-05T08:37:28Z")

</div>

Its probably possible but, its so much easier and logic to just do it from the parent...

---

<div class="post-metadata">

**Author:** ![Alex\_E](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Alex\_E](https://forum.inductiveautomation.com/u/Alex_E)\
**Post date:** [March 5, 2025, 3:53pm UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/10 "2025-03-05T15:53:41Z")

</div>

Thanks for all your replies.  
I think I didn't quite managed to convey what I wanted to accomplish.  
The below image is from an example view that I set up. The labels on the right should read the DATA param from the embedded view on the left. Images of the relevant properties / bindings are placed under the components. What I want is for the lower example to work.

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

Here's how the embedded view's params are configured.

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

To elaborate a bit further on my intended application:  
Everything is happening in the designer with scripts, there won't be any use for this data in runtime.  
I'm developing a turn-key system for a client and I want to in some way stupid proof the process of adding additional sites / pieces of equipment. For this, I decided to add a "config" param where they could select whether certain pieces of equipment are present or not.  
The next step is to create the tags for the site / piece of equipment via the script. What I wanted to do was have every embedded view that could turned on or off by the config param have a read only param with what tags or UDTs are required for it.

This could also be handled with a list somewhere, but a parameter seemed to be the best way to associate the type of data required directly with the user of that data.  
Hopefully this is a somewhat clearer explanation of my objective.

---

<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:** [March 5, 2025, 3:57pm UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/11 "2025-03-05T15:57:14Z")

</div>

Yup, got it. No way to do that, short of parsing the view definition on the filesystem.

---

<div class="post-metadata">

**Author:** ![Alex\_E](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Alex\_E](https://forum.inductiveautomation.com/u/Alex_E)\
**Post date:** [March 5, 2025, 11:26pm UTC](https://forum.inductiveautomation.com/t/how-to-access-default-parameter-values-on-an-embedded-view/103254/12 "2025-03-05T23:26:08Z")

</div>

Roger that.  
Thanks for your time and insights.
