web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to Reference Self....
Power Apps
Suggested Answer

How to Reference Self.Name

(1) ShareShare
ReportReport
Posted on by 206
Building a PA Canvas screen.
 
I saw a search come back stating that Self.Name was valid, but I don't see it in my environment.  Is this Self.Name a real function? 
 
I can do a workaround calling the tooltip something meaningful related to the text input, and I'm not looking to return the text VALUE, just the name of the control for a variable.
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,452 Super User 2025 Season 2 on at
    Hi
     
    Sorry, not sure what you mean by you don't see Self.Name
     
    Self.Name is an expression that can be used within ANY of the Properties of a Control.
     
    It references itself, not other controls
     
    ToolTip
    Self.Name
     
    Would make your tooltip the name of the control.

    But you said you want it as a Variable, that part doesn't make sense.
    You want to set it where?

    Just to be clear though, Set is a behavioral function, so you can only put it into things like
    OnSelect
    Reset

    So it would NOT set your variable except in those.
    But if you want it in the tooltip, then you just need to do what I said up there.

    Self.Fill.Color is another example of using Self

    Again, it can only be used to reference properties of the control, whos property HAS this expression/Function in it. 
  • Suggested answer
    Ravindra Jadhav Profile Picture
    342 Moderator on at
    Not understand your question please share some more info
    You can use self.text property 
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard