# Write indirect property binding or write to property via script

**URL:** <https://forum.inductiveautomation.com/t/write-indirect-property-binding-or-write-to-property-via-script/62892>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 10, 2022, 9:53pm UTC](https://forum.inductiveautomation.com/t/write-indirect-property-binding-or-write-to-property-via-script/62892 "2022-08-10T21:53:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmalec](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@dmalec](https://forum.inductiveautomation.com/u/dmalec)\
**Post date:** [August 10, 2022, 9:53pm UTC](https://forum.inductiveautomation.com/t/write-indirect-property-binding-or-write-to-property-via-script/62892/1 "2022-08-10T21:53:32Z")

</div>

Hello, I am having issues writing to a property array.

The property is on the session, as I am trying to simulate Visions “Client Tags”.  
The below works, however I need to put a tag/do indirect tag binding on the array index, but when I try to I lose my “bi-directional” property preventing me from writing to the tag:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/c/ac30e95354e5edeb9d71567c898cf5dff6daa444.png)

The below is the kind of function I need, specifically there is a parameter in the property binding:

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

Is there any solutions to this problem?

---

<div class="post-metadata">

**Author:** ![Munkhbat\_Munkhtulga](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Munkhbat\_Munkhtulga](https://forum.inductiveautomation.com/u/Munkhbat_Munkhtulga)\
**Post date:** [September 2, 2022, 8:25pm UTC](https://forum.inductiveautomation.com/t/write-indirect-property-binding-or-write-to-property-via-script/62892/2 "2022-09-02T20:25:22Z")

</div>

Hi dmalec,

Expression bindings do not allow bi-directionality. Instead you could use is a property change script to write back to the source.

Here is the documentation for Property Change Script [Perspective Property Change Scripts - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Perspective+Property+Change+Scripts)
