cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
phearin
Helper III
Helper III

Build performance review by using PowerApps

Dear Team,

 

I have quick question regards to the PowerApps. I want to build an apps which basically allow user to enter their data for the perform review each year. I have done simple one which fill the form and attach to the app attachment. 

 

However, I think it is not enough I want to customize by replacement of using attach file to fill direct on the apps form and it needs hierrachy structure. Each staff will login to the apps to enter their information/data. Manager will have access to see all staff who under their supervision. 

 

Could we do that in the PowerApps? If so, how do we do it?

 

If you didn't what I try to explain, please let me know so I could give more simply work structure to hit the point. 

 

Thanks,

Phearin

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @phearin ,

Could you please share a bit more about your scenario?

Do you want the staffs to enter their info when they login in your app, and want the manager to see all submitted staff info when he login in your app?

 

Based on the needs that you mentioned, I think PowerApps could achieve your needs. On your side, you could create separated screen for the staffs and manager (Staff Screen and Manager Preview Screen).

Within the Staff screen, you could add a Edit form (which connects to a specific data source) to collect staff's entry. Within the Manager Preview Screen, you could add a Gallery, connect it to same data source as that in the Edit form, use the Gallery to list all submitted info from the staffs.

 

In addition, you need also to configure a Access Level within your app. When the staff login in your app, navigate him to the Staff Screen, when the manager login in your app, navigate him to the Manager Preview Screen. You could consider save the related managers' email address into a Collection, then compare current sign in user's email with the Collection.

I have made a test on my side, please take a try with the following workaround:

Set the OnStart property of the App control to following:

ClearCollect(
ManagerCollection,
"Manager1@email.com",
"Manager2@email.com",
"Manager3@email.com"
...
);
If(
User().Email in ManagerCollection, /* <-- Check current sign in user is a manager or a staff */
Navigate(ManagerPreviewScreen, ScreenTransition.None),
Navigate(StaffScreen, ScreenTransition.None)
)

Note: Within your app, do not provide any Navigation functionality between the ManagerPreviewScreen and the StaffScreen. To make sure the the ManagerPreviewScreen is separated from the StaffScreen

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
yashag2255
Dual Super User II
Dual Super User II

Hi @phearin , 

 

The scenario that you want to achieve is doable. 
 
You can go ahead and simply add a form in the powerapps. This form can be either an independent one where you add your own fields or you can have one directly linked to an entity/list at any data source. It would be easier to use CDS or SharePoint. But, that totally depends on how you want to store data.
 
For having a functionality where manager can see the data submitted by his/her reportee, you can create a separate screen and place a navigation on the main Screen. Set the visibility of that icon only if the logged in user is a manager. To verify that you can either connect to Office365 or if you have another table, you can add that as a data source. 
 
Data filtration can be done using the filter command over any data source.
 
This is a generalized solution, if you are looking for something where you might need help with expressions/formula or the approach to do so, please share the screenshots, through that we will be able to assist you better
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
v-xida-msft
Community Support
Community Support

Hi @phearin ,

Could you please share a bit more about your scenario?

Do you want the staffs to enter their info when they login in your app, and want the manager to see all submitted staff info when he login in your app?

 

Based on the needs that you mentioned, I think PowerApps could achieve your needs. On your side, you could create separated screen for the staffs and manager (Staff Screen and Manager Preview Screen).

Within the Staff screen, you could add a Edit form (which connects to a specific data source) to collect staff's entry. Within the Manager Preview Screen, you could add a Gallery, connect it to same data source as that in the Edit form, use the Gallery to list all submitted info from the staffs.

 

In addition, you need also to configure a Access Level within your app. When the staff login in your app, navigate him to the Staff Screen, when the manager login in your app, navigate him to the Manager Preview Screen. You could consider save the related managers' email address into a Collection, then compare current sign in user's email with the Collection.

I have made a test on my side, please take a try with the following workaround:

Set the OnStart property of the App control to following:

ClearCollect(
ManagerCollection,
"Manager1@email.com",
"Manager2@email.com",
"Manager3@email.com"
...
);
If(
User().Email in ManagerCollection, /* <-- Check current sign in user is a manager or a staff */
Navigate(ManagerPreviewScreen, ScreenTransition.None),
Navigate(StaffScreen, ScreenTransition.None)
)

Note: Within your app, do not provide any Navigation functionality between the ManagerPreviewScreen and the StaffScreen. To make sure the the ManagerPreviewScreen is separated from the StaffScreen

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @phearin  have you build the application yet ?  If yes could you share my the msapp file please. I would love to take a look at it. 

 

thanks. 

Anonymous
Not applicable

hi .. is this App already build? can i have the app for my project? thankyou so much, i d'ont really know how to proram but i really want to learn.

@phearin   could you be kind enough to reply incase you have the app built ? 

@P_SA 

Thank you for your contacting me on this topic.

For the performance review, I have parked it for some reasons behind that apps. Because I do need to redesign the flow once again. The item which I had just only you can submit your document as attached file and submit it only.


Thanks,

Phearin 

@Anonymous 

Thank for interested in this project. 

I also start to program as well. It is just simple app which idea to allow everyone to attached their soft copy into the system only.

 

Thanks,

Phearin

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PWREduCon768x460.png

Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

Top Solution Authors
Top Kudoed Authors
Users online (1,914)