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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Update Property

(0) ShareShare
ReportReport
Posted on by 278

Is there a way to update another objects property from another?  

 

I have trash Icon, once it is clicked I would like another object, a button, to have a Visible value of true.  How can ou access another objects property? 

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @duncant 

    You do that with the UpdateContext() function applied to the first button to set a variable.  You then use the variable to make the second button's visible property either true or false.  So for example make the first button's OnSelect property

     

    UpdateContext({var:true})

     

     and make the second button's Visible property  "var".  (without the ").  Set the var property to false as a default in the OnVisible property of the screen. (UpdateContext({var:false}). 

    To toggle the visibility of the second button you can set the first button's OnSelect property as UpdateContext({var:!var}).  If you play around with it you will see how it works. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard