SharePoint Online List Web Part

In this SharePoint Online tutorial, we will discuss on SharePoint Online List web part.

We will discuss the SharePoint List web part and we will discuss how users can view, filter, sort, and group the list in the List web part on SharePoint Online modern site.

We will also learn about Dynamic filtering in the SharePoint list web part with a few examples based on a SharePoint Online environment. Some of them may not be available in SharePoint Server 2019.

What is a SharePoint Online List web part?

  • List web part allows us to display a list from our SharePoint site page and customize it with your own title, view, and even size.
  •  We can only select from custom lists from the site page, and lists such as events or tasks are not available to this web part. 
  • Users can view, filter, sort, and group the list, or go to the list page by clicking the See all options.

Read SharePoint News Web Part

SharePoint Online Custom List web part

Let us see how can we create a custom list web part,

  • Open the SharePoint site page where you want to create a custom list.
  • Select site contents and then click on the + New and select List.
SharePoint online Custom List web part
SharePoint online Custom List web part
  • Select Blank list. Name the custom list as per the requirement and then click Create.
Custom List web part in SharePoint online
Custom List web part in SharePoint online
  • Now we can see a blank custom list is created as below:
Custom List web part in modern SharePoint
Custom List web part in modern SharePoint

This is how we can create a custom list. We will also see how to add the custom list into the list web part as follows,

Read SharePoint Hero Web Part

How to add List web part in SharePoint online

Let us see how we can add the list web part in modern SharePoint,

  • Go to the SharePoint site page where you want to add list of web parts to the SharePoint modern site page.
  • Select Edit Page at the top right of the SharePoint site page.
  • Click + circled icon then add a new Section layout.
  • In the search box, enter the list and select the List web part.
add List web part in SharePoint online
add List web part in SharePoint online
  • After adding the List Web Part, it automatically displays the Lists that are available on the SharePoint site page as shown below:
add List web part in modern SharePoint
add List web part in modern SharePoint
  • Select the list from the drop-down, that you want to display on your SharePoint site page. Click on the Apply button.
how to add List web part in modern SharePoint
how to add List web part in modern SharePoint
  • Under View, you can select the view from the drop-down as All items.
SharePoint online list web part view
SharePoint online list web part view

Here, you can also provide the folder name as well as the Size of the web part. I have given the Size as Autosize – fit to a number of items.

Apart from this, you can also choose the below options:

  • Small – about 5 items
  • Medium – about 15 items
  • Large – about 30 items
SharePoint online list web part size
SharePoint online list web part size
  • Select Republish to commit your changes.

This is how we can add and edit the list web part in modern SharePoint.

Read SharePoint Site Collection – Change Title, Description, Logo, and Site Administrator

SharePoint online list web part remove see all

Let us see how to remove see all options in SharePoint online list web part,

  • Edit the SharePoint site page and select the list web part that you want to edit.
  • In the property pane of the list web part at the right, Enable the Show “See all” toggle control.
  • Click Apply to commit the changes. Select Republish
SharePoint online list web part remove see all
SharePoint online list web part remove see all

Now you cannot see the “see all” option in the list web part, which is removed.

remove see all in SharePoint online list web part
remove see all in SharePoint online list web part

This is how we can remove see all options in the modern SharePoint list web part.

Read How to add Google Analytics in SharePoint Online

SharePoint online list web part hide column header

Let us see how to hide the column header in SharePoint online list web part,

  • Edit the SharePoint site page and select the list web part that you want to edit.
  • In the property pane of the list web part at the right, Enable the Show command bar toggle control.
  • Click Apply to commit the changes. Select Republish
SharePoint online list web part hide column header
SharePoint online list web part hide column header

Now you cannot see the Command bar in the list web part, which is removed.

hide column header in SharePoint online list web part
hide column header in SharePoint online list web part

This is how we can hide the column header in SharePoint online list web part.

Read How to create an organization chart from a list in SharePoint using JavaScript

Dynamic Filtering in SharePoint modern List web part

Let us see how to work with dynamic filter in list web part modern SharePoint,

  • Dynamic filtering filter by items selected in another list or library.
  • With dynamic filtering, you can filter one list based on a selection made in another web part. 

In this SharePoint online dynamic filtering list web part example, I have created a list as ‘Training Courses’ and a library as ‘ Courses’

Dynamic filtering in modern SharePoint
Dynamic filtering in modern SharePoint
  • Now, edit the SharePoint site page and Select a two-column section to add the Document library web part and the list web part.
list web part filter in SharePoint online example
list web part filter in SharePoint online example

Now we can select the List and Document to add it to the web part,

Dynamic filtering in the SharePoint online list web part
Dynamic filtering in the SharePoint online list web part

Once added the document web part and list web part look as shown below:

SharePoint modern list web part filter example
SharePoint modern list web part filter example
  • Select and edit the Document web part to apply the filter.
  • In the property pane of the Document web part at the right, Under Dynamic filtering, slide the toggle to the On position.

Here we have to apply a filter on the Document Library web part so that when we select a list, it will list out the documents regarding the Selected list.

Example in SharePoint modern list web part filter
For example in SharePoint modern list web part filter
  • Select the column you want to filter in the field Column in your list to filter.
SharePoint modern list web part dynamic filter
SharePoint modern list web part dynamic filter
  • Under List or Library containing filter value, select the list or library you added to your SharePoint site page.
SharePoint modern list web part dynamic filtering
SharePoint modern list web part dynamic filtering
  • Select the column that has the values you want to filter by under the Column containing the filter value.
  • Select Apply.
  • Select Republish at the top right of the page to save your changes.
SharePoint modern list web part dynamic filtering example
SharePoint modern list web part dynamic filtering example

See the Output below:

When we select the Power Platforms Training list in the list web part, it displays the documents regarding the selected list in the document web part.

SharePoint modern list web part dynamic filter example
SharePoint modern list web part dynamic filter example

We can also see the filtered list items in the breadcrumbs, as shown below:

list web part dynamic filter SharePoint modern example
list web part dynamic filter SharePoint modern example

This is how to work with dynamic filter in list web part modern SharePoint.

Read How to Enable view entries in SharePoint list multiple lines of text columns

SharePoint online Increase list web part column width

Let us see how to increase the list web part column width in modern SharePoint,

We can increase the column width of the list and display it in the List web part of the SharePoint modern page, To achieve this, follow the below steps:

  • Select Site contents from the SharePoint page, and select the list that you want to modify.
  • Expand the column width, using the mouse.
SharePoint online list web part column width
SharePoint online list web part column width
  • Select the Save View as an option to save the current view.
SharePoint modern list web part column width
SharePoint modern list web part column width
  • Click the Save button.
SharePoint modern list web part column width example
SharePoint modern list web part column width example

Refresh the SharePoint online site page, and now we can see the SharePoint modern list web part column width has been increased as shown below;

SharePoint online list web part column width example
SharePoint online list web part column width example

This is how we can increase the list web part column width in modern SharePoint.

Read How to change the welcome page in SharePoint

SharePoint online list web part from another site

  • No, we cannot display the list in the list web part from another site on a modern SharePoint page.

List web part accordion in SharePoint online

Let us see how to show page sections in an accordion view on the SharePoint modern page.

  • Open the SharePoint site page and choose Edit Page at the top right.
  • Select the List web part section and hover your mouse, you’ll see an option to edit the list web part section.
  • Enable the Make section as a collapsible group option in the List web part section. Once the section collapsible option is enabled, you can see another two options available in the section panel they are,
  1. If we want to show the divider line between two sections we can enable it.
  2. We can also assign Collapse/Expand icon alignment to Right or Left. By default, the section will be in the Expanded mode.
SharePoint online accordion list web part
SharePoint online accordion list web part
  • Whenever you set the Expand/ Collapse icon alignment to the Left, the section displays as shown below:
how to accordion list web part SharePoint online
how to accordion list web part SharePoint online
  • Whenever you set the Expand/Collapse icon alignment towards Right, the section displays as shown below:
how to accordion list web part SharePoint online example
how to accordion list web part SharePoint online example

This is how we can do the List web part accordion on the SharePoint modern page.

Read SharePoint online yammer integration

Contact list web part in SharePoint online

Let us see how we can create the contact list web part in SharePoint online,

Directly, it is not possible to create a Contact List Web Part in modern pages on a SharePoint online site.

There is an alternative way that we can do this. First, we have to create a contact list in a Classic SharePoint view and then we can configure the created contact list into the modern SharePoint list web part.

To achieve this, follow the below steps:

  • Select Site contents and select Return to Classic SharePoint.
Contact List web part in the modern SharePoint
Contact List web part in the modern SharePoint
  • In the SharePoint Classic view, Select add an app as shown below:
SharePoint online Contact List web part
SharePoint online Contact List web part
  • In the search box, enter Contact to quickly find and then select the Contacts app.
SharePoint modern Contact List web part
SharePoint modern Contact List web part
  • Name the Contact List and select Create.
how to create Contact List web part in SharePoint online
how to create a Contact List web part in SharePoint online
  • Now we can see the Contact list is created, Now select Exit Classic experience.
how to create Contact List web part in modern SharePoint
how to create Contact List web part in modern SharePoint
  • On the Modern SharePoint page, click site contents to view the created Contact list as below:
Contact List web part in the SharePoint online
Contact List web part in the SharePoint online
  • Open the contact list and Select + New to add a new item to the contact list. Click on the Save button.
Contact List web part in the modern SharePoint example
Contact List web part in the modern SharePoint example

Now we can see that the newly created item has been added to the list.

Contact List web part in the SharePoint online example
Contact List web part in the SharePoint online example
  • Open the SharePoint site page where you want to add Contact list web parts to the SharePoint modern site page.
  • If you’re not in edit mode already, choose Edit Page at the top right of the SharePoint site page.
  • Click + circled icon then add a new Section layout.
  • In the search box, enter the list to quickly find and select the List web part.
how to create Contact List web part in modern SharePoint example
how to create Contact List web part in modern SharePoint example

Once you select the created list, the web part displays the list item inside the list web part like below. Select Republish to commit your changes.

Create Contact List web part in modern SharePoint example
Create Contact List web part in modern SharePoint example

Once the site page is published we can see the expected output as shown below:

Create Contact List web part in SharePoint online example
Create Contact List web part in SharePoint online example

This is how we can create the contact list web part in modern SharePoint.

Read How to embed PowerPoint Slide in SharePoint

SharePoint online list web part formatting

Let us discuss the list web part formatting in Modern SharePoint,

When you edit a list web part section in the SharePoint site page, in the properties pane you can see the Layout options and the section background shading.

  • Under the Layout section, we can choose the layout option as per the scenario.
  • We can also increase the list web part column width, mentioned above.
  • Under the Section background Shading, we can choose the Shade that we want to display in the list web part section.
  • Select the Section background shade and Click Republish.
SharePoint online list web part formatting
SharePoint online list web part formatting

Once the site page is published, we can view the list web part section background shade is changed as below:

SharePoint modern list web part formatting
SharePoint modern list web part formatting

SharePoint online lists web part properties

Let us see SharePoint online list web part properties, how to connect the list properties web part with the source list, and display the selected data dynamically on our SharePoint site page with a few examples. Examples that we are going to see are based on the SharePoint online environment.

Read Create custom announcement web part using Rest API in SharePoint

What is SharePoint List Properties web part

  • The List Properties web part allows us to connect the list web part on the same SharePoint site page.
  • We can display the selected list data dynamically on our SharePoint site page.
  • When the users select a particular list from the list web part, he/she can view the detailed list data in the list properties web part.
  • We can also select the fields that we want to display to the users in the list properties web part.

How to add List web part in SharePoint online

Let us see how we can add the list web part in modern SharePoint,

  • Go to the SharePoint site page where you want to add list properties web part and select Edit Page at the top right of the site page.
  • Add a new Section layout and click on the + circled icon.
  • Then in the search box, enter list properties and select the List Properties web part.
SharePoint online list web part properties
SharePoint online lists web part properties

In the below screenshot, you can see the List properties web part added, where we can connect the list web part with the list properties web part. In the addition, we can also add Title to the List properties web part.

SharePoint modern list web part properties
SharePoint modern lists web part properties

This is how to add list properties web part in the SharePoint online.

Read Add Google ReCaptcha in SharePoint Online

SharePoint online list properties web part connections

Let us discuss the list properties web part connections in the SharePoint Online,

In the modern SharePoint site page, users can view the selected list data dynamically, we can connect the list web part with the List Properties web part.

Follow the below steps to connect the List properties web part with the Source list:

  • Edit the List properties web part section, click the ellipses (…), and ChooseConnect to the source option.
SharePoint online list web part connections
SharePoint online list web part connections
  • Now we can select the list from the drop-down that we want to display in the list properties web part.
  • In this example, I selected “Task list” as the Source list for the list properties web part.
  • Once you select the Source list in the list properties web part. You can view that This web part is connected to the selected list, here it is Task List (highlighted in Red).
SharePoint modern list web part connections
SharePoint modern list web part connections

This is how we can connect the list web part or the source list to the list web part properties.

Read SharePoint Left Navigation Branding using CSS

How to use list properties web part in Modern SharePoint

Let us see how we can use the list properties web part in modern SharePoint,

  • Once the list properties web part is connected to the source list, you can select the fields that you want to display in the List properties web part.
  • Under Select fields to display, we can select the fields checkbox to display the field items.
how to use list properties web part in sharepoint
how to use list properties web part in SharePoint
  • Under the Size option, we can also choose the size of the list properties web part. In this example, I have given the Size as Autosize – fit to a number of items. Apart from this, you can also choose the below options:
  • Small – about 5 items
  • Medium – about 15 items
  • Large – about 30 items
how to use list properties web part in sharepoint online
how to use list properties web part in SharePoint online
  • Enable the toggle control to allow users to edit list items, else disable it.
  • We also have an option to remove the connected source list. Select Remove the connection to remove it.
list properties web part in sharepoint online
list properties web part in SharePoint online
  • You can see in the below example, that I have added the list web part left side and the list properties web part on the right side.
  • Now select the list in the list web part. In the same way, connect the list web part to the list properties web part.
list properties web part in sharepoint online example
list properties web part in SharePoint online example

Now you can see the list is added in the list web part and also connected with the list properties web part as shown below. Click Save as draft and Republish to save your changes.

list properties web part in sharepoint modern example
list properties web part in SharePoint modern example
  • In the below screenshot, we can see the selected list item data in detail on the list properties web part in the SharePoint site page.
  • At a time, we can select only one list item in the list web part, so it displays the selected item data in the list properties web part.
Use list properties web part in sharepoint example
Use list properties web part in SharePoint example

This is how we can connect and display the dynamic data in the list properties web part in modern SharePoint.

Read SharePoint list view styles example

SharePoint online list properties web part not working

  • When we add a SharePoint group list web part properties, it dynamically displays the selected item data from the list web part
  • For some users, there is an issue, when they add list properties web part they could not able to view the selected list item.
  • To overcome this issue, we should delete the previously added list web part and list properties web part and recreate a new list web part and list properties web part on the SharePoint site page.

In this SharePoint tutorial, we learned the SharePoint Online List web part, and how to add a List web part for the SharePoint Online modern site page. And also covered below topics:

  • SharePoint online Custom List web part
  • List web part remove see all in modern SharePoint
  • Modern SharePoint online list web part hide column header
  • Dynamic Filtering in SharePoint modern List web part
  • List web part column width in SharePoint online
  • SharePoint online list web part from another site
  • List web part accordion in SharePoint online
  • Contact list web part in SharePoint online
  • SharePoint online list web part formatting
  • SharePoint online lists web part properties
  • SharePoint online lists web part connections
  • how to use list properties web part in SharePoint
  • SharePoint online lists web part properties not working

You may like the following SharePoint Online tutorials:

>