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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,704)