Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CoE Starter Kit - Feature]: Store App Compexity information (ex PCF Control Count) for PowerApps App table #6014

Closed
manuelap-msft opened this issue Jul 6, 2023 · 4 comments
Assignees
Labels
coe-starter-kit CoE Starter Kit issues enhancement New feature or request

Comments

@manuelap-msft
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The goal is to enable impact analysis for apps that use PCF components. The scenario is that an environment has PCF components enabled, and an admin may want to disable that - we then want to run an impact analysis to show which apps are using PCF components.

This information is available in new properties that have recently been added to the Get Apps as Admin output, in the appDocumentComplexity scope:

"appDocumentComplexity": {
"controlCount": 77,
"pcfControlCount": 9,
"uiComponentsCount": 7,
"totalRuleLengthOnStart": 2124,
"dataSourceCount": 11,
"totalRuleLengthHistogram": [
826,
560,
473,
36,
5,
2,
0,
0,
0,
0,
0,
0
],
"blocksOnStart": false,
"namedFormulasCount": 0,
"startScreenUsed": false
}

Describe the solution you'd like

Either if pcfControlCount > 0: store a true/false in a new field of usesPCFControls

OR (probably better option)

If we think we will use the appDocumentComplexity attributes for other purposes, such as showcasing complexity of an app (which could be relevant reporting), we could store pcfControlCount as a number (and then the reporting would trigger on where pcfControlCount > 0).

Describe alternatives you've considered

No response

Additional context?

No response

@bch920
Copy link

bch920 commented Aug 9, 2023

@Jenefer-Monroe would it be possible to store

dataSourceCount
controlCount
uiComponentsCount

ideally we would like to get an idea of how many "complex" apps we have.

@Jenefer-Monroe
Copy link
Collaborator

Thanks for the suggestion, I am looking at this next and do hope to have a good overall set of data for you so your suggestions are quite helpful!

@Jenefer-Monroe
Copy link
Collaborator

I just went ahead and added all of them. Still need to finish testing and make a view

Image

@CoEStarterKitBot
Copy link
Collaborator

@manuelap-msft This has been fixed in the latest release. Please install the latest version of the toolkit following the instructions for installing updates. Note that if you do not remove the unmanaged layers as described there you will not receive updates from us.

@Jenefer-Monroe Jenefer-Monroe changed the title [CoE Starter Kit - Feature]: Store PCF Control Count for PowerApps App table [CoE Starter Kit - Feature]: Store App Compexity information (ex PCF Control Count) for PowerApps App table Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coe-starter-kit CoE Starter Kit issues enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

4 participants