Hi,
I am looking for some advice for resolving performance issues in a Canvas App that is being run as a Page in Dynamics 365.
The app displays various controls to allow filtering of a Dataverse table, where the results are then shown in a Gallery control. Each gallery control item displays several fields from a related Contact record as well as a status for 3 slots per week day (totalling 21 individual controls).
I have already been through a lot of the best practices and recommendations to reduce the amount of data being returned, and to avoid using specific function calls and lookups etc, and the query itself seems to be fairly quick to return. The main issue I am now facing is when scrolling the gallery and the app needs to display the next batch of records, it will freeze up for around 5-10 seconds.
I am still looking at ways to reduce the number of controls on the screen as the App Checker within Power Apps studio has calculated the screen complexity as 598 (with the recommended threshold being 300). The app uses a lot of containers in order to arrange and group controls and allow them to flow correctly when screen sizes change etc. I am assuming that these containers would be contributing to the overall complexity but I cannot find any documentation on how the complexity score is calculated. Is there perhaps a better way to arrange controls on the screen without the need for nesting containers.
Does anyone have any thoughts on the above, or even some other ways/best practices that I could use to potentially improve the usability of the app so that it is more responsive to the end users?
Thanks in advance