cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HEATFreight
Kudo Kingpin
Kudo Kingpin

AutoSave is Broken - Automatically and Instantly Saves After Every Minor Edit! Slows Down Editing, Can't Disable!

In the last few months, I have noticed new behavior with AutoSave within a canvas app.

I have the 2-minute AutoSave setting enabled, however every edit I make to anything in the app causes AutoSave to run again immediately! I believe this is a bug or unintended behavior.

This causes a massive reduction in performance. Even minor edits hang up while the app is trying to save. I do not want the app to save instantly with every single edit! Why would I want that? I have tried disabling AutoSave entirely, but the setting is stuck. The setting description is "Save changes every 2 minutes. This is a browser level setting". Does that mean some kind of cached value may be preventing me from disabling the setting? If I disable it, there are two things I notice: 1) the app continues instantly autosaving anyway and 2) the setting will be reenabled if I close and reopen the app.

Is this a bug?

Also, another thing I just noticed is that (after accidentally clicking some unknown function keys while setting down a can of Red Bull next to my keyboard and watching the screen change, thus making me think I had somehow performed an unknown edit to the code I had open at the time) clicking undo seems to be able to backtrack to changes not made in the current session! I had just opened the app and had made no changes aside from whatever might have happened when I accidentally pressed F3 or F4 or some other unknown key combination. The OnSelect code for a button I was about to edit blinked on my screen like I had just triggered some change. I clicked the undo button and was immediately transported to a screen to which I had not even navigated yet! It was as if the undo button was affecting changes made in an entirely different session. I continued clicking the undo button several times and watched as the selected field in a form input would change with each click. I couldn't be sure if clicking undo was actually changing any code. I don't remember recently editing these particular form fields (and I'm the only maker or editor of this app). I kept clicking undo and each time I would click, the selected form input field would change! I had not even navigated to the page within the canvas app containing this particular form during this session, let alone edited any of these fields. Clicking the redo button seemed to do nothing. So, I'm not sure that any changes were in fact applied by the undo button, but I exited the app and restored from the previous save just to be sure. And of course, autosave was firing off a new save every time I would do anything (undo, redo, etc.).

Power Apps team: what have you done? None of these things used to happen. AutoSave used to only run every 2 minutes and the undo button was not capable of backtracking to changes made during a different session.

Something is broken. Please fix.

EDIT: Tried disabling AutoSave, then closing and reopening app again for the first time in a month or so, and this time it seems to have applied the setting change. I swear I have recently tried disabling AutoSave numerous times only to find that it would be reenabled upon reopening the app. We shall see how this improves performance but suffice it to say the AutoSave functionality is broken if every minor edit triggers a new AutoSave!

4 REPLIES 4
TheRobRush
Super User
Super User

Yah, I have not experienced any issues like this. Not sure what is going on with yours. Maybe put in a ticket

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

It's apparently a common issue with large apps: see this thread, and specifically this comment.

TheRobRush
Super User
Super User

Yah then, if you are outside of Microsofts recommended usage of the platform you will have issues. See Here

Not so much an issue as it is how this platform is designed. It's running in a web browser and every single control in an app is a separate thing the browser has to load etc. Microsoft is limited by what your browser is capable of more or less. More Controls does not make an app better, just more complex. Almost always a simpler way to achieve ones goal, which in the end is better for the end user.

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

Do you think you're being helpful?

I've read the coding standards document verbatim. I know what I'm doing is heavy duty. But until fairly recently, the editor was not nearly this laggy for me. Without changing much in my canvas app, the editor has gotten substantially laggier in the last few months.

Read the thread I linked to. Read the threads found with a cursory Google search by @mwbyrtie:

MICROSOFT

To any Microsoft support staff reading this - you have a problem, which cuts off developers' ability to build serious apps, that actually can be used for more than just handle a simple process. Please fix this.

 

Many before me have raised this issue - here's 15 examples from a "Power Apps Studio Slow"-google search, where I only looked at the first 3 pages:

 

 


@TheRobRush wrote:

Not so much an issue as it is how this platform is designed.


^LOL, you're funny. Have you considered standup?

But seriously, don't reply to this thread again unless you have solutions. You're wasting my time.


I didn't post here to be lectured about why I should use fewer controls. If it were possible to significantly reduce the number of controls, I would do so. And it probably is to some degree, but guess what: the editor will be laggy as all hell while I'm doing that. The number of controls is not the issue, not when the same number of controls was previously not a problem. I have ~3,000 controls apparently, but this is a full CRM with multiple APIs and multiple SharePoint lists, with functionality split across eight screens. It runs invoices, it dispatches shipments, it washes your dishes and feeds the cat too.

Microsoft has recently made some improvements to Power Apps, and I suspect that those recent updates have worsened the lagginess for sprawling apps like mine. Reversing the trend of having too many controls is a whole lot more difficult when every minor change suddenly takes half a minute or more to resolve as error-free. Three months ago that was not the case. The controls-footprint of my app has not increased noticeably in that time. If anything, it may have been reduced. Microsoft needs to fix this on their end if they want to empower serious development on the Power Fx platform.

Helpful resources

Announcements

Celebrating the May Super User of the Month: Laurens Martens

  @LaurensM  is an exceptional contributor to the Power Platform Community. Super Users like Laurens inspire others through their example, encouragement, and active participation. We are excited to celebrated Laurens as our Super User of the Month for May 2024.   Consistent Engagement:  He consistently engages with the community by answering forum questions, sharing insights, and providing solutions. Laurens dedication helps other users find answers and overcome challenges.   Community Expertise: As a Super User, Laurens plays a crucial role in maintaining a knowledge sharing environment. Always ensuring a positive experience for everyone.   Leadership: He shares valuable insights on community growth, engagement, and future trends. Their contributions help shape the Power Platform Community.   Congratulations, Laurens Martens, for your outstanding work! Keep inspiring others and making a difference in the community!   Keep up the fantastic work!        

Check out the Copilot Studio Cookbook today!

We are excited to announce our new Copilot Cookbook Gallery in the Copilot Studio Community. We can't wait for you to share your expertise and your experience!    Join us for an amazing opportunity where you'll be one of the first to contribute to the Copilot Cookbook—your ultimate guide to mastering Microsoft Copilot. Whether you're seeking inspiration or grappling with a challenge while crafting apps, you probably already know that Copilot Cookbook is your reliable assistant, offering a wealth of tips and tricks at your fingertips--and we want you to add your expertise. What can you "cook" up?   Click this link to get started: https://aka.ms/CS_Copilot_Cookbook_Gallery   Don't miss out on this exclusive opportunity to be one of the first in the Community to share your app creation journey with Copilot. We'll be announcing a Cookbook Challenge very soon and want to make sure you one of the first "cooks" in the kitchen.   Don't miss your moment--start submitting in the Copilot Cookbook Gallery today!     Thank you,  Engagement Team

Announcing Power Apps Copilot Cookbook Gallery

We are excited to share that the all-new Copilot Cookbook Gallery for Power Apps is now available in the Power Apps Community, full of tips and tricks on how to best use Microsoft Copilot as you develop and create in Power Apps. The new Copilot Cookbook is your go-to resource when you need inspiration--or when you're stuck--and aren't sure how to best partner with Copilot while creating apps.   Whether you're looking for the best prompts or just want to know about responsible AI use, visit Copilot Cookbook for regular updates you can rely on--while also serving up some of your greatest tips and tricks for the Community. Check Out the new Copilot Cookbook for Power Apps today: Copilot Cookbook - Power Platform Community.  We can't wait to see what you "cook" up!      

Tuesday Tip | How to Report Spam in Our Community

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   Today's Tip: How to Report Spam in Our Community We strive to maintain a professional and helpful community, and part of that effort involves keeping our platform free of spam. If you encounter a post that you believe is spam, please follow these steps to report it: Locate the Post: Find the post in question within the community.Kebab Menu: Click on the "Kebab" menu | 3 Dots, on the top right of the post.Report Inappropriate Content: Select "Report Inappropriate Content" from the menu.Submit Report: Fill out any necessary details on the form and submit your report.   Our community team will review the report and take appropriate action to ensure our community remains a valuable resource for everyone.   Thank you for helping us keep the community clean and useful!

Community Roundup: A Look Back at Our Last 10 Tuesday Tips

As we continue to grow and learn together, it's important to reflect on the valuable insights we've shared. For today's #TuesdayTip, we're excited to take a moment to look back at the last 10 tips we've shared in case you missed any or want to revisit them. Thanks for your incredible support for this series--we're so glad it was able to help so many of you navigate your community experience!   Getting Started in the Community An overview of everything you need to know about navigating the community on one page!  Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Community Ranks and YOU Have you ever wondered how your fellow community members ascend the ranks within our community? We explain everything about ranks and how to achieve points so you can climb up in the rankings! Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Powering Up Your Community Profile Your Community User Profile is how the Community knows you--so it's essential that it works the way you need it to! From changing your username to updating contact information, this Knowledge Base Article is your best resource for powering up your profile. Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Community Blogs--A Great Place to Start There's so much you'll discover in the Community Blogs, and we hope you'll check them out today!  Community Links: ○ Power Apps ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Unlocking Community Achievements and Earning Badges Across the Communities, you'll see badges on users profile that recognize and reward their engagement and contributions. Check out some details on Community badges--and find out more in the detailed link at the end of the article! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio    Blogging in the Community Interested in blogging? Everything you need to know on writing blogs in our four communities! Get started blogging across the Power Platform communities today! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Subscriptions & Notifications We don't want you to miss a thing in the community! Read all about how to subscribe to sections of our forums and how to setup your notifications! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Getting Started with Private Messages & Macros Do you want to enhance your communication in the Community and streamline your interactions? One of the best ways to do this is to ensure you are using Private Messaging--and the ever-handy macros that are available to you as a Community member! Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Community User Groups Learn everything about being part of, starting, or leading a User Group in the Power Platform Community. Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Update Your Community Profile Today! Keep your community profile up to date which is essential for staying connected and engaged with the community. Community Links: ○ Power Apps  ○ Power Automate  ○ Power Pages  ○ Copilot Studio   Thank you for being an integral part of our journey.   Here's to many more Tuesday Tips as we pave the way for a brighter, more connected future! As always, watch the News & Announcements for the next set of tips, coming soon!

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

Top Solution Authors
Top Kudoed Authors
Users online (2,536)