Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 3Wr+cWGtA+ZuHJYdPPGvZY
Power Apps - Building Power Apps
Unanswered

Understanding Enhanced performance for hidden controls feature

Like (2) ShareShare
ReportReport
Posted on 12 Nov 2020 20:01:07 by 664

I have the Enhanced performance for hidden controls (Hidden controls will not be created until they become visible) feature turned on in my application.

In my canvas app there are a number of galleries shown on the home screen of the app. I have logic in the OnStart which sets various variables to true/false and then these variables are used in the Visible properties of each of the galleries.

I can see in Monitor that when I run OnStart, even the galleries whose visibility variable is set to false in the OnStart are still calling the server (it's the Items property of each). Is this happening because the Items property is not part of the hidden control? Or is it because the visibility is pointing to a variable? And finally, is there any way to prevent calls to the server for controls that wouldn't be shown?

Categories:
  • gergoe Profile Picture
    61 on 02 Dec 2022 at 08:17:41
    Re: Understanding Enhanced performance for hidden controls feature

    My app also generates errors during OnStart for hidden controls even though 'Enhanced performance for hidden controls' is turned on.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started