100% found this document useful (1 vote)
274 views

PowerApps - Performance and Optimization Tips

The document describes a process for loading data from various data sources into a PowerApps application. It involves: 1. Showing a pre-loader animation to hide the main UI while data loads. 2. Loading data from local storage, server, or other data sources and saving it to local collections. 3. Hiding the pre-loader animation once complete to display the main UI and allow user interaction.

Uploaded by

jpereztmp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
274 views

PowerApps - Performance and Optimization Tips

The document describes a process for loading data from various data sources into a PowerApps application. It involves: 1. Showing a pre-loader animation to hide the main UI while data loads. 2. Loading data from local storage, server, or other data sources and saving it to local collections. 3. Hiding the pre-loader animation once complete to display the main UI and allow user interaction.

Uploaded by

jpereztmp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Show Pre-loader

Animation
(hide main UI)

Data Source
Load Data From Server and
(SQL, CDS,
Save into local collections
Sharepoint.etc)

Hide Pre-loader
Animation
(show main UI –
user can interact
with UI)

If applicable
preemptively load data
that will be used in
subsequent screens
LoadData From
Device Local
Storage

Show Pre-loader
Is There Data ? No Animation
(hide main UI)

Yes

Data Source
Load Data From Server and
(SQL, CDS,
Save into local collections
Sharepoint.etc)

Hide Pre-loader Animation


(show main UI – user can
interact with UI)

Save Data to Device Local


Storage

Continue loading data if


needed
Timer 1: Load from Timer 2: Load from Show Pre-loader
Data Source 1 Data Source 2 Animation

Navigate Timer

Data Source Data Source


(SQL, CDS, (SQL, CDS,
Sharepoint.etc) Sharepoint.etc)

Are all Calls


done

Yes

RunInParallel(Collect(foo, Search(Customers, SearchInput.Text in Navigate to the next screen

Name)), Collect(bar, Search(Customers, SearchInput.Text in Company)))


SortByColumns(Filter(Projects, Email = Office365Users.MyProfileV2().mail,
TextSearchBox1.Text in Title), "City", If(SortDescending1, Descending, Ascending))

Set(currentUserEmail, Office365Users.MyProfileV2().mail)
SortByColumns(Filter(Projects, Email = currentUserEmail, TextSearchBox1.Text in Title),
"City", If(SortDescending1, Descending, Ascending))
First(Filter(Projects, [Some condition here]))

LookUp(Projects, [Some condition here])


• https://compressor.io/
• https://tinypng.com/
• http://compressjpeg.com/
 Connectors are throttled.
 PowerApps currently support 600 requests per minute per user
 up to 30 concurrent calls per user.

You might also like