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 / Optimizing Save Button...
Power Apps
Answered

Optimizing Save Button Performance

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all!

 

I'm having an issue with editing a save button in the editor mode for one of my apps. I've built an app on top of Microsoft's Dataverse and have ~15 tables with forms that I edit on one page. Only one table's forms are present at a time, and the forms visibility is dependent on ~15 different buttons selected on a previous screen.

 

My issue is that the Save button I have on the screen with my ~15 table forms has become very large. Right now I only have one save button control that has a switch statement in the OnSelect property that saves any of my ~15 tables' form depending on what button was pressed on my previous screen. I have to do a lot of different operations when someone saves a form, and since there's ~15 tables the code is basically ~15 as long as if I used one save button per form/table. This results in my save button taking forever to edit, as I have to wait minutes for the changes I type to actually register and become visible in the app.

 

My main question is this: should I split this 1 save button into ~15 different save buttons? Would this make editing the save button easier? Or would the increase in number of controls in one screen be too much and cause my app to still be slow while editing?

 

Let me know if any clarification is needed.

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    TheSec Profile Picture
    58 on at

    Hello,

     

    I don't have so much tables in my app. In the frontend I just use patch with Form.Updates.

    When I have multiple forms ist's just: 

     

    Patch(table;varFormData;Form1.Updates);

    Patch(table;varFormData;Form2.Updates); ....

     

    Ist pretty fast because only the updates get saved regardless on which form the fields are.

    Depends on your design if you can use this.

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard