Showing results for 
Search instead for 
Did you mean: 

Ability to reference items in a control using "Self"

This is basically the same idea as in Self reference named operator for controls idea, and even though I commented on it as well, I thought it might be useful to create a new one to have it "bubble to the top" since the prior one was marked as Completed - which in my opinion it was not.  


So as in the prior idea, the request here is to have a Self (or ThisControl, or whatever it may be called) operator that would allow one to access members of the SAME control without having to refer to it directly by name. 


This would be very similar to the Parent operator or even ThisItem and would both save time and prevent errors when copying and pasting similar controls (especially when creating "composite" controls by grouping others).  


When one copies and pastes controls that reference another property within the same control, one then has to go back and manually ensure that all references are modified to be that of the new control (yes PowerApps in some cases will rename on copy and paste - but this often/usually does not work in the code blocks).  


Please see the link above for the prior idea for more information.


Note, this would be a BIG productivity boost for me.

Note that as I am unaware if there is another way to flag that an idea that was marked as completed did not appear to meet what the idea asked for I have created a new one.  If this is not the appropriate way, please let us know how otherwise to flag this (perhaps just commenting is enough?).  


Status: Completed
Not applicable

I would really like being able to self-reference controls. 

Not applicable

Searching for this feature as well.


SELF REFERENCE should be a standard forever!!!

The answer to this post was a bit "shortheaded". Self-Reference is more than a "name".color

"myself".color is much more needed when we copy elements!

Not applicable

Can someone from Microsoft give an update on this?  Looking at these forumns, this has been requested in various forms since 2016!!!!   I have about 300 fields i have to copy and paste code into and have to change the field reference on each and every one!  This would cause a 10 hour job to be a 10 minute job!  

Advocate III

Basic feature. Can't believe it's not there already.

Kudo Kingpin

Another example of why we continue to often use other products, even when we would prefer to use this one - time is simply too expensive a resource to waste.

Kudo Collector

Yippie!  It looks like the cavalry is coming. I.e. the "Self" keyword is now available in the preview channel.


See this thread for more info. 

Advocate III

It would be useful for the Self reference to also capture the name of the control - example: Self.Name


I have run into a few situations where it would has been useful to have the name of the control referenced somewhere for dynamic UI in my apps. Seems like this is not much to ask for since they have it already with the Parent reference.



Power Apps
Status changed to: Completed

Self has been added.  For more details see the blog Formulas: Launch to self and Self operator | Microsoft Power Apps and the documentation Operators and Identifiers - Power Apps | Microsoft Docs.