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

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,302)