Applies to Product - Power Apps
What’s happening?
Customers are experiencing issues with maintaining input content in applications, particularly when the app is put into sleep mode or when switching between different modes. The input content is disappearing unexpectedly during these transitions.
Reason:
The underlying cause of this appears to be related to performance problems that lead to session disconnections during sleep mode. Specifically, the high number of controls within the app may contribute to these performance issues.
Resolution:
- Reduce Control Count: It is recommended to limit the number of controls in the app to below 500 to improve performance. The app currently has a control count of approximately 1250, which is significantly higher than the recommended limit.
- Optimize App Performance: Review the app's design to identify opportunities to reduce the number of controls or optimize their usage. Consider using galleries instead of individual controls where applicable.
- Monitor Logs: Capture monitor logs during the occurrence of the issue to assist in diagnosing the problem. Ensure that the app's debugging settings are enabled in the app's edit screen under [Settings] > [General].
- Export App: If further investigation is needed, export the app and provide it for analysis. Instructions for exporting the app can be found in the support documentation.
- Check Environment: Verify whether the issue occurs in specific environments (e.g., mobile app vs. browser) and under what conditions (e.g., specific screens or user actions).
- Regular Saving: As a temporary workaround, implement a process for regularly saving input data to prevent loss during session disconnections.
