Forum Discussion
john john
Jul 03, 2019Steel Contributor
Unable to set the default rendering as "Tiles" for my document library view
I have created a new sharepoint modern team site, and inside the built-in document library, i want to set the default rendering for all users to be "Titles" instead of "List", as follow:- ...
john john
Jul 03, 2019Steel Contributor
Shijuraj your steps are exactly the same steps which i followed, and which did not work!!.. As if other users access the new defualt view the list view will be rendered using the "List" and not "Tiles",, seems the defualt rendering for the default or custom views will always be "List" and this can not be changed.. maybe MS need to consider this feature..
Shijuraj
Jul 04, 2019Brass Contributor
John John just now noticed in list settings, still the default view didn't set. Try to set it and see.
- KusumaAlapatiApr 26, 2024Copper Contributorit worked:)
- john johnJul 04, 2019Steel Contributor
Shijuraj wrote:John John just now noticed in list settings, still the default view didn't set. Try to set it and see.
Shijurajin my case the new view will be set as the default inside the list settings,,and when users access the library they will be redirected to the new list view, but the list view will be rendered using the "List" and not "Tiles"...
- AristeaOct 22, 2019Copper Contributor
Any update with setting the default view as "tiles"? For a document library, I've set the default view as "tiles" but a few other users access the library and it doesn't automatic default to tile view. The library goes to the list view although the default is set for "tiles" view. Is it a platform issue or a browser issue? Any help how to resolve would be great. Thank you!
- cSestiJan 08, 2020Copper Contributor
Did anyone come up with a solution for this? Found the below JSON script but when I go back to the default view it displays it in a "List" view with a bar and broken images. Need to have the default view saved in a "Tiles" view,
{
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"hideSelection": true,
"hideColumnHeader": true,
"rowFormatter": {
"elmType": "a",
"attributes": {
"class": "ms-borderColor-neutralLight",
"href": "[$FileRef]"
},
"style": {
"float": "left"
},
"children": [
{
"elmType": "div",
"attributes": {
"class": "ms-bgColor-themeLighterAlt ms-bgColor-themePrimary--hover ms-fontColor-white--hover"
},
"style": {
"display": "flex",
"flex-wrap": "wrap",
"flex-direction": "column",
"align-items": "stretch",
"padding": "1px",
"margin": "10px",
"max-width": "930px",
"box-shadow": "2px 2px 4px darkgrey"
},
"children": [
{
"elmType": "img",
"attributes": {
"src": "[$FileRef]"
},
"style": {
"width": "200px"
},
"children": [
{
"elmType": "span",
"txtContent": "[$FileName]",
"style": {
"margin-bottom": "1px"
},
"attributes": {
"class": "ms-fontSize-m ms-fontWeight-regular ms-fontColor-neutralSecondary"
}
}
]
}
]
}
]
}
}