cancel
Showing results for 
Search instead for 
Did you mean: 

How do I find where a Collection is created?

Hello all,

It would be great to have a way to find where a collection was defined (place or action in the app the actually creates the collection via Collect, ClearCollect, etc. - for example in an OnVisible action or OnSelect action).

 

This functionality is available for variables but not for collections. It's a nightmare to find where a given collection was created or is being updated within a app w/ lots of screens, actions, controls. etc.

 

Thanks, Daniel

Status: Under Review
Comments
Regular Visitor

I totally agree, a project is passed to me and now I do not even know where the collection is created which relates to why it is created and now the app is incomplete.

 

Frequent Visitor

Hello Everyone,

 

Just a little help until this is implemented: you can export PowerApps to a zip, drill down to Microsoft.PowerApps\apps\<something>\, find the file with *.msapp extension, go inside that as it was a zip or a subfolder, copy its contents to another folder outside the zip, and use total commander to search in the contents of the files in that folder, that will tell you where the collection is defined.

 

Good luck!

Advocate I

I can only second to what everybody else is commenting here. So much unnecessary time going to waste for looking after where collections is being created. Some kind of contextual search would be nice and then clickable so you are being directed to that row or function. 

Advocate V

In addition to the app as .zip export and hunt method I describe above, I've just come across the "PowerAppps Review Tool" available here: https://github.com/microsoft/powerapps-tools#powerapps-review-tool 

 

It allows you to export an app as an MSApp file and see all your functions, and it highlights what formulas/properties have been changed from the PApps default values.  You can export the report as JSON or HTML.  This is easier than the export as .ZIP and extract method I described.

 

Do be aware that the tool can APPEAR to hang (e.g. Not Responding) when you open your MSAPP file.   I.e. it can take SEVERAL minutes for the tool to chew through the app and generate the report.

 

Here is an example screenshot of a report:

ExamplePAppsRevToolReportSS.png

Advocate I

Yes this is a must, but I use a work around 

https://powerusers.microsoft.com/t5/Building-Power-Apps/How-do-I-find-where-a-Collection-is-created/...

Hope that helps someone ‌‌😁