Share via


SharePoint online: Open Selected List Item Details In List Properties Viewer (Part Two)

Introduction

In my previous article, I already explained how to open a selected document In File Viewer (Word, Excel, PowerPoint, and PDF) in SharePoint modern sites.

Here, let us see about using modern web parts, and how we can view the selected list item without any customization using List Properties Viewer. 

Scenario 

The requirement is to open the selected List item without open it in a new tab of the browser window and Popup window of the model dialog box.

This should be achieved using Modern in OOB web parts. 

Objective 

The below OOB web parts will be used in this solution.

  1. List – connect to List & select Item
  2. List properties - The web part will Connect to a list or list web part on this page to dynamically display a selected item in the list. 

Follow the below steps.

Step 1

Navigate to your SharePoint 2013 site -> Create Modern Page in Site Pages.

Step 2

From this page,

  • Edit the page.
  • Hover over the canvas where you would like to add layout section.
  • Click on the “+” Sign.
  • Add New section “Two Column” from the Section layout.

https://www.c-sharpcorner.com/article/how-to-open-selected-list-item-details-in-list-properties-viewer-part-two/Images/How%20To%20Open%20Selected%20List%20Item%20Details%20In%20List%20Properties%20Viewer.png

Step 3

You will see two sections to add web parts,

https://www.c-sharpcorner.com/article/how-to-open-selected-list-item-details-in-list-properties-viewer-part-two/Images/How%20To%20Open%20Selected%20List%20Item%20Details%20In%20List%20Properties%20Viewer02.png

  • After the final selection of your selected List, the below screen will appear.

Step 4

Final Step

  • Select any List item from the left side List
  • The file should be opened in the right-side List properties viewer web part

Without Selected List Item Screen

https://www.c-sharpcorner.com/article/how-to-open-selected-list-item-details-in-list-properties-viewer-part-two/Images/How%20To%20Open%20Selected%20List%20Item%20Details%20In%20List%20Properties%20Viewer09.png 

With Selected List item

https://www.c-sharpcorner.com/article/how-to-open-selected-list-item-details-in-list-properties-viewer-part-two/Images/How%20To%20Open%20Selected%20List%20Item%20Details%20In%20List%20Properties%20Viewer10.png 

Conclusion

When we have a large list with many columns, it can be hard for users to find the specific information they are looking for. In List view we are showing two-column information, a user can select an item from a List web part, and see the detailed information of all related columns in the List properties web part.