Showing results for 
Search instead for 
Did you mean: 
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:


Approved by:


Thanks in advance!

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
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");;

Helpful resources

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.


Power Apps Community User Group Member Badge

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


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


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.


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)