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 / About button visibility
Power Apps
Unanswered

About button visibility

(0) ShareShare
ReportReport
Posted on by 33

Hi,

I controlled the button to be visible to administrators and invisible to users. However, when I run the app with a user account, the button appears at first, but then disappears. In my opinion, the condition seems to proceed after loading, so I want to set the visible property to false and set the condition, but the condition is not applied. I would like to ask for your advice if there is another way.

Categories:
  • turnerj3 Profile Picture
    2,039 on at

    @taewooOh ,

    How are you setting visibility? In the visible property of the button give it a variable name like varVisible. Then it will only show when you set varVisible = true, if user is administrator.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @taewooOh

    If you have a list of admin emails, Set the  visible property to

    !IsBlank(LookUp(AdminList, Email = User().Email) 

  • taewooOh Profile Picture
    33 on at

    @turnerj3 

    I used a variable, but when I run the app under my user account, the button appears briefly on loading and then disappears.

  • turnerj3 Profile Picture
    2,039 on at

    At what point are you setting the variable true? On app start? Show me the code and location please.

  • taewooOh Profile Picture
    33 on at

    @Drrickryp 

    I ran it the same way.
    However, when I run the app with my user account, the button appears and then disappears after loading.

  • taewooOh Profile Picture
    33 on at

    @turnerj3 

    화면 캡처 2023-04-25 111046.png

    I put a formula in button properties.

  • turnerj3 Profile Picture
    2,039 on at

    @taewooOh ,

    It sounds to me like it is taking a second to do the Lookup. I would try to do the lookup on app start and then set a variable based on those results. Basically, you need to keep the button invisible until the Lookup has completed.

  • taewooOh Profile Picture
    33 on at

    @turnerj3 , Thanks you.

    I understand that I need to change the button to false state first and then to true based on the condition, but I can't implement the logic.

  • turnerj3 Profile Picture
    2,039 on at

    @taewooOh ,

    Pardon my ignorance, but I’m not following. I’m taking it that your IsBlank button logic is working, but there is a delay. Is this correct?

  • taewooOh Profile Picture
    33 on at

    @turnerj3 ,

    The delay is the same as using an if statement...

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard