cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HF306
Helper I
Helper I

Leave Request

Error.PNG

Hi everyone,

 

1. As shown on the image above, how do I fix that error?

 

2. I also would like to know how do I set Log In as Manager for specific people such as when button Log In as Manager is clicked and it detect that Person_A@mail.com and  Person_B@mail.com account, access is granted. Else access is restricted.

 

 

Thanks!! 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @HF306 ,

Try this

Set(_selectedAprover,Office365Users.Manager(Office365Users.MyProfile().Id))

If you actually want the manager's name

Set(_selectedAprover,Office365Users.Manager(Office365Users.MyProfile().Id).DisplayName)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User III
Super User III

Hi @HF306 ,

Try this

Set(_selectedAprover,Office365Users.Manager(Office365Users.MyProfile().Id))

If you actually want the manager's name

Set(_selectedAprover,Office365Users.Manager(Office365Users.MyProfile().Id).DisplayName)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Hi WarrenBelz,

 

appreciate the help!! ^_^

Thank you @WarrenBelz  for this solution,
I have just downloaded the Leave Request Template and got the same error message, your solution fixed the issue

Kind regards

Claire

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (32,369)