# Self Property Reference Vision

**URL:** <https://forum.inductiveautomation.com/t/self-property-reference-vision/72872>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 25, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/self-property-reference-vision/72872 "2023-04-25T13:29:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfolkes](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rfolkes](https://forum.inductiveautomation.com/u/rfolkes)\
**Post date:** [April 25, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/self-property-reference-vision/72872/1 "2023-04-25T13:29:26Z")

</div>

I have a Label with a custom property {Row} I want to be able to use this to do some expressions.

For example (not actual script here)  
if (Len(dataset) \> {row},1,0) for visibility  
Dataset[{row},3] = value  
Dataset[{row},1] = Mouseover

I want to do this all based on the custom property so that when I copy paste this I can just change the custom property value to update all the values within the label.

What I can find is how I reference  
Self.Row  
instead of  
{Root Container.MaintenanceContainer.Row1WarningLabel.Row}

which the later wouldn't work since I would need to change it in each place.

---

<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:** [April 25, 2023, 1:38pm UTC](https://forum.inductiveautomation.com/t/self-property-reference-vision/72872/2 "2023-04-25T13:38:06Z")

</div>

In a script, you would use `self.Row` directly. The curly braces are only for expression bindings, not scripts. If you copy and paste a component with self-references in bindings, the designer will change them for you.

---

<div class="post-metadata">

**Author:** ![rfolkes](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rfolkes](https://forum.inductiveautomation.com/u/rfolkes)\
**Post date:** [April 25, 2023, 11:12pm UTC](https://forum.inductiveautomation.com/t/self-property-reference-vision/72872/3 "2023-04-25T23:12:00Z")

</div>

ahh didn't realize it would update like that with copy.
