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 Platform Community / Forums / Power Apps / Visibility dependent o...
Power Apps
Answered

Visibility dependent on an item/button having being clicked

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am trying to do something really simple and struggling.

 

I need a simple tick icon to appear if a button has been clicked.

 

(the button navigates the user to a different page. The user will then come back to the original page) This is when I want the tick to appear. I thought I would be able to do this based on a button being pressed but am stuck...

 

Thanks in advance,

 

Laura

 

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    On the button 'OnSelect' Property: UpdateContext({TickVisible:true}) ; Navigate(yourscreen,none)

     

    On the tick Image/icon 'Visible' Property: TickVisible

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Sam,

     

    thank you for your help.

     

    My visiblity doesn't seem to like TickVisible  😞 

     

    Do I Name the icon "TickVisible" and am getting confused? If so, what do i set the visibilty of the icon too?

     

    Many thanks again Sam!

     

     

    Error Visible.PNG
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You need to set the Visible property of the icon to the name of the context variable you specified on the onselect property of your button.

     

    You may be seeing the squiglly red line under the "tickvisible" in your icons visibility property if you have not created the context varible on the button before hand.

     

    More reading on updatecontext here : https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-updatecontext

     

    The button:

    button.png

     

     

     

     

     

     

     

    The icon:


    tick.png

     







  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Sam,

     

    this is PERFECT thank you!

     

    It wasn't working still and then I realised you had put the navigate part of the formula after. So once I swapped it round it worked fine. 

     

    Thank you so so much again 🙂 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard