Today in this “Tiles in SharePoint” article we’ll learn about how to create a Tile view in modern SharePoint online lists and configure it step by step.
SharePoint Online, a powerful collaboration platform by Microsoft, offers a variety of views to tailor your browsing experience. One such engaging and visually appealing view is the “Tiles View.” In this article, we’ll delve into the Tiles View feature in SharePoint Online, exploring its benefits and how it can enhance your productivity.
Key-Highlights: Tiles in SharePoint
- Introduction
- How to enable tiles view – actual implementation.
- Use cases of tiles view.
- Summary – what do we have here?
- References
Introduction – Tiles in SharePoint (create tile view in modern SharePoint online lists)
Recently (5th September 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.
Understanding Tiles View
Tiles View is a display option within SharePoint Online that presents your content in an intuitive and visually appealing grid layout. Each item, whether it’s a document, a list item, or an image, is represented by a tile. These tiles showcase a preview or an icon, along with a title or a description, providing users with a quick overview of the content.
A Visual Feast for Enhanced Navigation
The beauty of Tiles View lies in its visual representation of data. Instead of a traditional list or detail view, where items are displayed in rows, Tiles View showcases content as vibrant, interactive tiles. This design is particularly effective for visual learners or those who prefer a more graphical approach to navigation.
Key Benefits of Tiles View
- Intuitive Navigation: The visual representation aids users in quickly identifying and accessing the content they need, enhancing the overall user experience.
- Efficient Scanning: The grid layout allows for efficient scanning of items, reducing the time it takes to find specific content.
- Engaging Interface: The use of images and previews in the tiles makes the interface engaging and encourages users to interact with the content.
- Customizable Display: Users can customize the tile layout to suit their preferences, providing a personalized browsing experience.
How to Access Tiles View
Accessing Tiles View is simple and can be done in a few easy steps:
- Navigate to Your Document Library or List: Access the SharePoint Online site and select the document library or list you want to view in Tiles.
- Switch to Tiles View: Look for the “Switch view” options, often represented by icons like a grid or tiles. Click on it and select “Tiles” to switch to the Tiles View.
- Customize the Display: Depending on your preferences, you can further customize the display by adjusting the size of the tiles or arranging them in different layouts.
How to enable tiles to view – actual implementation: Tiles in SharePoint (create tile view in modern SharePoint online lists)
Before we head on to this, we must verify that we have some dummy data in the list. So below we have a sample list named “Purchase Order” with some dummy data.
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.
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“.
Then we’ll get the JSON box as below:
SharePoint view formatting JSON examples
Copy the below code and paste this into the JSON box mentioned over here.
{
"hideColumnHeader": "true",
"hideSelection": true,
"tileProps": {
"hideSelection": true,
"width": "180",
"height": "150",
"formatter": {
"elmType": "a",
"attributes": {
"href": "[$URL]",
"target": "=if([$NewTab] == true, '_blank', '')"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "ms-bgColor-black ms-bgColor-themePrimary--hover ms-fontColor-white--hover"
},
"style": {
"display": "flex",
"flex-wrap": "wrap",
"min-width": "180px",
"min-height": "150px",
"margin-right": "10px",
"margin-top": "10px",
"box-shadow": "2px 2px 4px black"
},
"children": [
{
"elmType": "div",
"style": {
"text-align": "center",
"margin": "auto"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "sp-row-title "
},
"txtContent": "[$Title]"
},
{
"elmType": "div",
"attributes": {
"iconName": "[$Icon]",
"class": "ms-fontSize-su"
}
}
]
}
]
}
]
}
},
"rowFormatter": {
"elmType": "a",
"attributes": {
"href": "[$URL]",
"target": "=if([$NewTab] == true, '_blank', '')"
},
"style": {
"width": "100%"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "ms-bgColor-blue ms-bgColor-themePrimary--hover ms-fontColor-black--hover"
},
"style": {
"display": "flex",
"flex-wrap": "wrap",
"width": "100%",
"min-height": "150px",
"margin-right": "10px",
"margin-top": "10px",
"box-shadow": "2px 2px 4px black"
},
"children": [
{
"elmType": "div",
"style": {
"text-align": "center",
"margin": "auto"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "sp-row-title "
},
"txtContent": "[$Title]"
},
{
"elmType": "div",
"attributes": {
"iconName": "[$Icon]",
"class": "ms-fontSize-su"
}
}
]
}
]
}
]
}
}
Code Reference URL: Tiles in SharePoint (create tile view in modern SharePoint online lists)
After copying and pasting the code – click on the “Save” button.
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 layout of the 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 5th September Microsoft announcement).
- In the code sample what I have shown here – can be extended to fit our requirements.
- As we know that in modern SharePoint online – we don’t have promoted link web part, using this same JSON we can implement the promoted link web part. To do that, just 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
Use cases of tiles view (tiles in SharePoint)
Per me, 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 a big list with multiple columns along with image types, we face a lot of challenges in displaying those items. Sometimes we need to scroll horizontally across the layout, and most of the image of the case does not display properly as it does not fit the default view layout. So now, using the “Tiles” view approach, we can overcome these issues.
Summary – Tiles in SharePoint (create tile view in modern SharePoint online lists)
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: Tiles in SharePoint (create tile view in modern SharePoint online lists)
- https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-formatting
- https://uifabricicons.azurewebsites.net/
- https://codepen.io/MistaTwist/pen/BoNLEG
- https://developer.microsoft.com/en-us/fabric#/
See Also: SharePoint Online Tutorial
You may also like the below SharePoint Online tutorials:
- Office 365: Getting started with SharePoint PnP PowerShell – installation
- In 2 steps convert a classic SharePoint page to modern using PnP
- Office 365: Retrieve hub sites and associated sites using PnP Powershell
- Create a modern team site using PnP PowerShell in SharePoint
- In 4 steps access SharePoint online data using postman tool
- SharePoint admin center: Learn SharePoint online administration in an hour – step by step
- SharePoint REST API: GET vs POST vs PUT vs DELETE vs PATCH
- Office 365: Understanding the hub site in SharePoint online