Question

We have a Power app which feeds into a SharePoint list when users submit a form on the app. We don't use the 'People Field' when building apps as they are complicated and cause a few issues. So instead we use office 365 to grab the users info and save that in the relevant Field.

My question is, can I filter the list by the current user based on an email address in a field in the list rather than using the 'People' field?

Thanks, Helen

No correct solution

OTHER TIPS

You are doing the right thing. Using User ID (email) instead of the weird people field type is what I was doing as well. Many do the same.

Of course you can filter any list by an email in Power Apps. Filtering my email is not different from filtering by any other string-based field. Sample steps:

  1. Add Office 365 Users connector.
  2. Get current user's email like so
Office365Users.MyProfile().Mail

enter image description here

  1. Now you can filter your SharePoint lists by email:
Filter('My SharePoint list', 'Email'= Office365Users.MyProfile().Mail)

You may try using Current User Filter under Filters category. Then connect this Web Part with the main List View Web Part.

This has been described in details at FILTER A VIEW BY “ME” WITHOUT A PEOPLE COLUMN

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top