# Access compontent binding by script

**URL:** <https://forum.inductiveautomation.com/t/access-compontent-binding-by-script/93472>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [July 19, 2024, 2:34pm UTC](https://forum.inductiveautomation.com/t/access-compontent-binding-by-script/93472 "2024-07-19T14:34:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![g.bonomini](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@g.bonomini](https://forum.inductiveautomation.com/u/g.bonomini)\
**Post date:** [July 19, 2024, 2:34pm UTC](https://forum.inductiveautomation.com/t/access-compontent-binding-by-script/93472/1 "2024-07-19T14:34:15Z")

</div>

Hi guys,  
In vision i have image component. There is a way to set the binding expression of the visibility property design time ? Because I need to create several component but with different expression binding connected to the visibility. I can create by script several component but i don't know hot to set different expression binding.  
Thanks

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 19, 2024, 2:38pm UTC](https://forum.inductiveautomation.com/t/access-compontent-binding-by-script/93472/2 "2024-07-19T14:38:08Z")

</div>

No, it's effectively not possible to create new bindings via scripting. If this is a one time operation, you'll be best off just doing it manually. If this is an operation that you might have to change dynamically often, consider a template repeater or template canvas, where you can script the creation of the dataset driving the templates.

---

<div class="post-metadata">

**Author:** ![g.bonomini](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@g.bonomini](https://forum.inductiveautomation.com/u/g.bonomini)\
**Post date:** [July 22, 2024, 8:56am UTC](https://forum.inductiveautomation.com/t/access-compontent-binding-by-script/93472/3 "2024-07-22T08:56:28Z")

</div>

Oh thanks, because I'm converting an hmi of other productor. What I have do now is with a excel convert the older image to a data to import in ignition with path, position and logical of visualization. I create a script to import all but for now i have put the expression(logical of visualization) in tooltip and after with manual operation I cut from tooltip to past in binding expression. But I have lot of object to make this operation manual. Any suggestion is good for me. Thanks
