cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
trance_addict14
Helper I
Helper I

Power Apps shows buttons to everyone before disappearing them

Hello all,

I have a small query. I have a few buttons on the very first screen of my app that is not visible to everyone. I changed the visible property so that only designated users are allowed to see those buttons.
However, when any user runs the app, all of the buttons that are hidden from the users, appear for 1-2 before disappearing again. How to overcome this issue that users don't see those buttons when the app launched?

Best Regards,

2 REPLIES 2
JacobShand
Helper II
Helper II

Hi mate, 

 

Try unticking this box:

image.png

Its in the settings for your PowerApp. Move your checking functions to the OnStart functionality in your app and give that a shot 🙂

 

Cheers,

Jacob | Automation Specialist

NextStep Creations

Taking your business the NextStep

v-xida-msft
Community Support
Community Support

Hi @trance_addict14 ,

Could you please share more details about the formula you typed within the Visible property of the Button?

Do you initialize formula within the OnStart property of App for controlling the visible of these buttons?

 

As first solution, I agree with @JacobShand 's thought almost. Please consider turn off the "Use non-blocking OnStart rule" option within Advanced settings of App settings of your app, then re-publish your canvas app again, check if the issue is solved.

 

As another solution, you could consider move these initialization formula (for controlling Button visible) from the OnStart property of App to OnVisible property of your first screen, then re-published your app, check if the issue is fixed.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (85,326)