# Template binding security

**URL:** <https://forum.inductiveautomation.com/t/template-binding-security/25123>\
**Category:** Ignition\
**Created:** [May 18, 2019, 5:14am UTC](https://forum.inductiveautomation.com/t/template-binding-security/25123 "2019-05-18T05:14:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anunia](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anunia](https://forum.inductiveautomation.com/u/anunia)\
**Post date:** [May 18, 2019, 5:14am UTC](https://forum.inductiveautomation.com/t/template-binding-security/25123/1 "2019-05-18T05:14:45Z")

</div>

Hi all, I am a new Ignition user and I am working on an existing project (not developed by me). At the moment I am trying to add some functionality on an existing template but without success, maybe you can help me… this is the situation:

- The project has a Tag datatype defined for a process tank, lets call it _Tank_
- Also we have a template which one uses this datatype as property, lets call it _TankS_

With the new functionality I am trying to do the next:

1. Add a new memory tag to the Tank datatype, lets call it _AlarmEnabled_
2. Edit the template adding a 2 state toogle button which will switch on/off the AlarmEnabled memory tag on its Tank

I got success with the item 1 and also I did edit the template and I did add the 2 state toogle button binding its Control, Indicator and Current State properties to the AlarmEnabled tag

![Binding%20Lock%201](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dd028fb6d9351c6f4570330a37bb8e4d5e5732f5.png)

But when I run the project, the toogle button switch on/off but the AlarmEnabled tag do not change (seems like the event hasn’t effect over the memory tag).  
About this, when the binding panel opens I can see a small padlock near to the Tank node on the tree (please look at attached picture)

 ![Binding%20Lock](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/a649a672c1984f3078a3caf86ced1f881c20bfda.png)

I know you can add security to the every element and maybe this is the problem, but I can’t find the rule or the element who has it.

I hope you can help me with this, I will be really gratefull.  
Regards

---

<div class="post-metadata">

**Author:** ![anunia](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anunia](https://forum.inductiveautomation.com/u/anunia)\
**Post date:** [May 18, 2019, 5:22am UTC](https://forum.inductiveautomation.com/t/template-binding-security/25123/2 "2019-05-18T05:22:53Z")

</div>

BTW… If I do modify the AlarmEnabled tag value (forcing it) the 2 state toogle button change its state, so the binding works in this way but not from the button to the tag.
