# How to call the component's own property/parameters

**URL:** <https://forum.inductiveautomation.com/t/how-to-call-the-components-own-property-parameters/27615>\
**Category:** Ignition\
**Created:** [August 21, 2019, 12:37am UTC](https://forum.inductiveautomation.com/t/how-to-call-the-components-own-property-parameters/27615 "2019-08-21T00:37:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [August 21, 2019, 12:37am UTC](https://forum.inductiveautomation.com/t/how-to-call-the-components-own-property-parameters/27615/1 "2019-08-21T00:37:28Z")

</div>

Can I use self.xxx to cite the component’s own property in expression function?

for example, I placed a label on the screen, assign a new property “Type” to this label.  
In the visible property of this label, I am trying to assign an expression, to display this label if the “Type = 1”.  
The usual way is to find the new property in the expression, like the following:  
“{Root Container.Label.TYPE}=1”  
But it contains a specific component path&name in it. If I have another 20 label to add, then I have to change the expression 20 times.  
If I can use “{self.TYPE}=1” or something similar, then I just need to copy/paste 20 times.

Appreciate if anyone can help on it.

Regards  
Chao

---

<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:** [August 21, 2019, 11:02am UTC](https://forum.inductiveautomation.com/t/how-to-call-the-components-own-property-parameters/27615/2 "2019-08-21T11:02:16Z")

</div>

No, the expression language cannot do this. Note, though, that if you copy and paste the entire component after making such a binding, the new component’s “self” bindings are updated accordingly. If you need twenty such components, make the first one perfectly functional before you duplicate it.
