Power Platform Tip #12
Your canvas app's formulas are plain JSON on disk
A canvas app package is a zip: Controls carries every formula, and References\DataSources.json records the data row limit of 500 against each Dataverse table it binds.
A canvas app leaves the designer as a single file. The formulas, the tables it binds and the data row limit it is built with are all inside it, as text.
A canvas app is a zip file
Save an app as a package and you get one .msapp. Copy it to .zip, expand it, and the app is sitting
there as folders: Controls\ holds the screens and their controls, References\DataSources.json lists every data
source the app binds, and Resources\ holds what it ships with.
The formulas are in there as text
Every control property that carries an expression stores it under InvariantScript. The app I unpacked,
from the CoE Starter Kit package, has 1,642 of those properties across three files, 1,634 of them holding
an expression, and they read fine outside Studio. Against the folder the expansion creates, with your app’s name in place of the one shown:
Select-String -Path .\AdminApp\Controls\*.json -Pattern 'LookUp\(|Filter\(|Max\(|CountRows\(|CountIf\(|SortByColumns\('
That lists the matching property lines. Counted, this app holds 8 LookUp, 5 Filter, 4 Max, 3 CountRows, 3 CountIf and 1 SortByColumns call.
The data row limit is recorded against each table
References\\DataSources.json names the six Dataverse tables the app binds, and every one of them
carries MaxGetRowsCount set to 500 - the data row limit the app is built with. It is the same 500 Learn describes
for a query that cannot be delegated: Power Apps takes the first 500 records from the data source and then
runs the actions in the query. That limit can be raised to 2,000 in the app’s settings.
Reading MaxGetRowsCount out of that file tells you where each table stands before you open the
designer.