cancel
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: Under Review

This is a great idea. Flagging @GregLi to review.

Comments
Level: Powered On

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

Level: Powered On

Searching for this feature as well.

 

SELF REFERENCE should be a standard forever!!!

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Self-reference-field-value-and-mapping-behavior/...

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Self-reference-named-operator-for-controls/idi-p...

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!

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Allow-self-reference-for-built-in-entities-espec...

Level: Powered On

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!  

Level: Powered On

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