# Template Canvas Dataset parameters not changing

**URL:** <https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [June 27, 2017, 8:48am UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636 "2017-06-27T08:48:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoan](https://avatars.discourse-cdn.com/v4/letter/y/f9ae1b/32.png) [@Yoan](https://forum.inductiveautomation.com/u/Yoan)\
**Post date:** [June 27, 2017, 8:48am UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636/1 "2017-06-27T08:48:34Z")

</div>

Hi,

I recently starting to use the Template Canvas object because i want to move the item in the Template Canvas dynamically (you can’t do that in Template Repeater).

My template used in the Template Canvas have specific custom properties. This custom properties make the template resize dynamically. The resize of the template is not considered by the Template Canvas at all, the size of the item is unchanged, so the resize part of the component is invisible. I would like that the next component move because the last component is now higher than before, then do the opposite.

Thanks you in advance.

P.S.: I change the description of the problem to be more clear.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [June 27, 2017, 1:53pm UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636/2 "2017-06-27T13:53:12Z")

</div>

The position and width and height of templates in the template canvas are determined by the x,y,width,height columns in the Templates dataset property on the template canvas. If you want to change the size of templates then you need to change that data.

Check out these blog posts to see what is possible:  
[http://nickmudge.info/post/ignitions-template-canvas-dynamically-creating-screens-at-runtime](http://nickmudge.info/post/ignitions-template-canvas-dynamically-creating-screens-at-runtime)  
[http://nickmudge.info/post/drag-and-drop-Ignition-templates-on-the-template-canvas](http://nickmudge.info/post/drag-and-drop-Ignition-templates-on-the-template-canvas)

---

<div class="post-metadata">

**Author:** ![Yoan](https://avatars.discourse-cdn.com/v4/letter/y/f9ae1b/32.png) [@Yoan](https://forum.inductiveautomation.com/u/Yoan)\
**Post date:** [July 3, 2017, 2:09pm UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636/3 "2017-07-03T14:09:02Z")

</div>

I already saw this parameters, but you can’t make an animation on this. I’m trying to have something very fluid at the end. Between the Custom parameters of my component are not updated outside of the component. To be more precise, the parameters value in the Template Canvas dataset are not changing.

Thanks.

---

<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:** [July 3, 2017, 3:29pm UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636/4 "2017-07-03T15:29:49Z")

</div>

> [@Yoan](#):
>
> To be more precise, the parameters value in the Template Canvas dataset are not changing.

The assignments from this dataset to the template instances' parameters is and has always been a one-way operation. Consider submitting a feature request. In the meantime, you will have to script the changes to the dataset as your UI manipulates the canvas.

---

<div class="post-metadata">

**Author:** ![Yoan](https://avatars.discourse-cdn.com/v4/letter/y/f9ae1b/32.png) [@Yoan](https://forum.inductiveautomation.com/u/Yoan)\
**Post date:** [July 4, 2017, 12:32pm UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636/5 "2017-07-04T12:32:47Z")

</div>

I didn’t know about this one-way operation. That’s not really user friendly to code, i will search how to do that.

Any way thanks for the answer.

---

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [October 31, 2017, 10:26am UTC](https://forum.inductiveautomation.com/t/template-canvas-dataset-parameters-not-changing/14636/6 "2017-10-31T10:26:30Z")

</div>

It is better.  
Is it possible to manipulate components that are dynamically created?  
For example:  
TextField  
Dropbox List  
Table  
How can I get the values and pass values?
