cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wirda
Level: Powered On

LeaveRequest App improvments

hi all,

 

I'm trying to polish my LeaveRequest app and I was thinking about few improvments - changes. If anyone know how to implement this please let me know.

 

  1. Accept / decline leave request from email - when manager receive email he can accept or decline just by clicking specific button
  2. Block manager login only for managers
  3. Create pdf after accepting leave request - will I need to connect PowerApps with Flow? I want to have a pdf file for HR purposes, and there fields like

Leave Request from:

Type of leave:

Dates:

Approved by:

 

Thanks in advance!

2 REPLIES 2
Highlighted
Super User
Super User

Re: LeaveRequest App improvments

Quick thoughts 🙂 

 

1. You can use the Flow Approval action to do this. I have it in a few apps and works well.

2. You can set the Visible property on the button to only be true when User().Email = "YourManagerEmailAddress". Once you get that working then you can make it more scalable.

3. Make PDFs with Flow should have everything you need.

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
wirda
Level: Powered On

Re: LeaveRequest App improvments

hi Shane,

Thanks for quick reply.

 

ad 1

You mean Flow Approval from drafts? Which one exactly? Oh.. and did I mentioned it would be also very usefull to show every leave in company calendar? 🙂

 

ad 2

My code looks like this but it's still not working properly 

Set(_managerView;true & User().Email = "YourManagerEmailAddress");;
Set(_requestTypeFilter;"Pending");;
Navigate(HomeScreen;None)

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,722)