Configure Tiles View In SharePoint Online - Office 365

Introduction

Recently (September 5, 2019), Microsoft announced that now we can have the "Tiles" view in the modern SharePoint online list and the release has been deployed to all tenants across the globe.

How to configure tiles to view actual implementation?

Before we head on to this we must verify that we have some dummy data in the list. So in the below, we have a sample list named “Purchase Order” with some dummy data.

Purchase Order

Verify that Tiles View is not available by default in the list

Here we can see that the "Tiles" view is not available under the view drop-down list.

Test Site

In the next step, we’ll see how we can see the "Tiles" view option in the above list view drop-down list.

From the view drop-down list. click on the "Format current view".

Format current view

Then we will get the JSON box as like below.

JSON box

Copy the below code and paste this into the JSON box mentioned over here.

Code Reference URL

https://github.com/SharePoint/sp-dev-list-formatting/blob/master/view-samples/generic-tile-format/tile-view.json

After copying and pasting the code. click on the "Save" button.

Save

Now, go to the same list view drop-down list, and we can see now "Tiles" view in the menu. If we click on the "Tiles" view we can see the list item in the tiles layout.

Tiles

Notes

  • For demo purposes I have displayed only the "Title" column however, we can display all types of columns except managed metadata (as of the September 5 Microsoft announcement).
  • In the code sample what I have shown here can be extended to fit our requirements.
  • As we know in modern SharePoint online we don’t have a promoted link web part, using this same JSON we can implement the promoted link web part. To do that, we need to have the below columns in the particular list:
  • 3.1 Title – Single line of text 3.2 Icon – Single line of text (get the icon name from UI fabric site, see the References section) 3.3 URL – Hyperlink 3.4 NewTab – Yes/No

Tiles view use cases

As per my, this is an awesome feature added to the modern SharePoint list – and it gives us the flexibility to display the SharePoint list item content in a more responsive, dynamic, and modern way. For example, when we deal with big lists with multiple columns along with image types, we face a lot of challenges in displaying those items. Sometimes we need to scroll over horizontally across the layout and in most of the cases image does display properly as it does not fit the default view layout. So now, using the "Tiles" view approach we can overcome these issues.

Summary

Thus, in this tutorial, we have learned how we can enable the "Tiles" view in the SharePoint modern list and its possible use cases.

References


Similar Articles