How to filter SharePoint list column with username of the user?

How to filter SharePoint list column with username of the user?

It works for Created By in your screenshot. If the PoC field is a text field there is no way you can pass the current user name. You need to add a “Current User Filter” web part along with list view web part and connect both web parts. Go to page where you have list view web part added.

Which is the current user filter web part in SharePoint?

Here, we learned how to use the current user filter web part in SharePoint Online or SharePoint 2013/2016. Bhawana Rathore is a Microsoft MVP (3 times in Office Apps & Services) and a passionate SharePoint Consultant, having around 10 years of IT experience in the industry, as well as in .Net technologies.

How to create a default filter in SharePoint?

With our SharePoint List Filter Web Part it’s possible to create a default filter (filter on initial load) and allow your users to change this filter or display all possible items. Create a default filter using the SharePoint List Filter Web Part

Is it possible to remove a filter in SharePoint?

This is a very nice feature, but if you want to allow your users to remove this filter, you have to provide a second view which displays all items. With our SharePoint List Filter Web Part it’s possible to create a default filter (filter on initial load) and allow your users to change this filter or display all possible items.

How to get the user name in SharePoint?

Best and simple way to get current logged in user name is _spPageContextInfo. _spPageContextInfo is a global variable usually available on any SharePoint page. This variable stores basic information about current web and current user. Thanks for contributing an answer to SharePoint Stack Exchange!

How to display SharePoint list based on logged in user?

– Create another view for your friend and make it by default view and then in the filter section, select the “Show items only when the following is ture:” and choose “Created by” is equal to and type “Me” in the text box. The following picture is for your reference.

How to update a SharePoint list with login name?

Now, on to the step to set the fields in the list, using Update List Item. Insert an Update List Item action. Here you can set each field to your variable values. Here is an example of setting the LoginName Text field with the LoginName variable. And the final result should display multiple attributes of the person in the people-picker field.