cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Restrict own profile in lookup field

Hi,

I need to restrict a field in Powerapps so that the logged in user can't enter his own name as "Approver" from the Office365 user list.

 

This is from a sharepoint list 

 

Does anyone know how to do this? 

 

Thanks

Trond

10 REPLIES 10
Anonymous
Not applicable

Thanks you @yashag2255 ,

 

This solved the issue 🙂 However, there are more then 999 Office365 users so I had to tweek the solution by adding a searchbox to it:

Filter(Office365Users.SearchUser({searchTerm: TextInput1.Text}), Mail <> User().Email)

 

Thanks for your patience 🙂 I should have thought about the connection with Office365 users 🙂

 

Regards,

Trond

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,321)