# Parameters to template View

**URL:** <https://forum.inductiveautomation.com/t/parameters-to-template-view/59486>\
**Category:** Ignition\
**Created:** [May 12, 2022, 5:30am UTC](https://forum.inductiveautomation.com/t/parameters-to-template-view/59486 "2022-05-12T05:30:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [May 12, 2022, 5:30am UTC](https://forum.inductiveautomation.com/t/parameters-to-template-view/59486/1 "2022-05-12T05:30:04Z")

</div>

In the IU [video](https://inductiveuniversity.com/videos/input-and-output-parameters/8.1) its explained that the Input to and Output from a view to be used as a template have to be defined as Parameters with input/out/both direction for each parameter. When Instantiating this view as embedded view in another view, the output parameters from the template automatically appear in the parameter list of the parent view (e.g. isActive parameter in the above video). Whereas the input parameters to the template have to be manually added ensuring that the name matches exactly as defined in template. Then these parameters can be bound to tags directly or indirectly.

My question why can't the input parameters to the template be automatically populated in the parameter list of the parent view as is the case with output parameters? Why they have to be manually added with exact name matching with the defined names in template? This is confusing. Intuitively all parameters of the template should automatically appear in the parent view, they should take default values when not bound to anything. What is the difficulty in adding all template parameters in the parameter list of the parent view?

---

<div class="post-metadata">

**Author:** ![plo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plo/32/33875_2.png) [@plo](https://forum.inductiveautomation.com/u/plo)\
**Post date:** [May 23, 2022, 9:41pm UTC](https://forum.inductiveautomation.com/t/parameters-to-template-view/59486/2 "2022-05-23T21:41:58Z")

</div>

Hello! What version of Ignition are you currently testing on?

Working on 8.1.17, instantiating a view as a template will always populate the Parameters(input, output, and input/output parameters). If the instance is already created before having added the parameters, you can also “Sync Parameters” which will add all of your listed parameters for you automatically.

[Perspective - Embedded View - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Embedded+View)

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [May 24, 2022, 3:26am UTC](https://forum.inductiveautomation.com/t/parameters-to-template-view/59486/3 "2022-05-24T03:26:04Z")

</div>

> [@plo](#):
>
> instantiating a view as a template will always populate the Parameters(input, output, and input/output parameters).

I am using 8.1.17. Great if it instantiates all parameters, the IU video doesn't show that for the previous version it was built on.

> [@plo](#):
>
> If the instance is already created before having added the parameters, you can also “Sync Parameters” which will add all of your listed parameters for you automatically.

That's a great feature! Will try this. It solves my problem. Thanks ! Great going.
