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

Power Apps Code Review Tool is not showing REVIEWS on canves app #1272

Open
LauraLTG opened this issue Apr 23, 2024 · 4 comments
Open

Power Apps Code Review Tool is not showing REVIEWS on canves app #1272

LauraLTG opened this issue Apr 23, 2024 · 4 comments
Assignees

Comments

@LauraLTG
Copy link

Power Apps Code Review Tool is not showing REVIEWS on canvas app, but i can see them on Admin app. Were can be an issue?
Power Apps Code Review Tool

Admin view:
Code Review admin

@Kian4444
Copy link

I am experiencing the same issue in the canvas app. Review details are being saved on Dataverse and viewable via the admin app but no reviews are displaying in the canvas app. After uninstalling the solution and installing the latest version (v 1.0.0.135) the issue was temporarily fixed but returned again the next day.

@niels09
Copy link

niels09 commented Oct 18, 2024

Has anyone found the reason for this behavior? I can see the reviews with the MDA and also new ones are created when triggered via the canvas app. But all of them wont ever show up in the list of existing reviews on the home screen of the canvas app.

@RajeevPentyala
Copy link
Contributor

RajeevPentyala commented Dec 4, 2024

@LauraLTG @Kian4444 @niels09 The following are the two filter conditions to surface the 'Reviews' on the App:

  1. Only users with either "Code Review User - Admin" or "System Administrator" roles can access all reviews. Users with other roles can access only their submitted reviews.
  2. The logic expects your 'Microsoft 365 account's User ID' to match the Dataverse 'User' record's 'Primary Email'. For example, the following is my Microsoft 365 User ID, which I use to log in to make.powerapps.com.
    Image
    To find the Dataverse User's Email ID, open the 'Users' Dataverse table and check the Primary Email value.
    Image

Please confirm the above two conditions, as they will help us troubleshoot the issue. In the meantime, follow these steps as a workaround. This workaround should allow access to all the reviews:

  • Open the 'Power Apps Review Tool' canvas app in Canvas studio.

  • From the HomeScreen, select FluentDetailsList1 control
    Image

  • Choose the Items property comment out or remove the highlighted condition from the formula:
    Image

  • After making the change, the formula condition should look like this: SortByColumns(
    AddColumns(
    Filter(
    Rev_SolutionReview,
    SearchMainScreen.SearchText in LbSolutionReviewName)
    ),
    {Rest of the formula}

  • Save and Publish the App.

  • Try accessing the Reviews.

Please revert if you have any questions or need further assistance.

@PRusakPL
Copy link

Hey Team,

Comparison like this below
Image

... totally ignores companies where User Principal Name (UPN) <> Email (and that's why this comparison fails for many orgs)

Maybe you can find other way to compare owner with currently logged in user ;-) (Eg. comparing Entra ID of the user)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants