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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,105)