cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

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
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

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (77,529)