Forum Discussion
Justrollo
Aug 22, 2022Copper Contributor
Document previews and using the file viewer
Sharepoint online document previews are too small for our needs There is one folder within a document library structure which we would like to see the previews much larger. We've set up a new page wi...
- Aug 22, 2022
That's possible to show document from particular folder in Document Library and connect File Viewer Web part with it. Instead of 1/3-2/3 column, I would suggest to use Vertical Section for documents and one column layout for file preview for bigger file preview.
Let's say you have document library where you want to show document from Test Folder
- Go the your page and add one column layout section and one vertical section
- Add Document Library web part in Vertical Section and Set Folder property by relative path of your folder from which you want to show documents
- Now add File Viewer web part and connect it to document library web part
Now save your page and you will get your desired output. Select any document from Document Library web part and preview will be generated for that document on left side
Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community
- Go the your page and add one column layout section and one vertical section
Gianluca_Macca
Oct 24, 2025Copper Contributor
Has anyone found a better solution?
This solution works, but it is not optimal.
First of all, you can't modify the height of the file viewer.
On top of that, there is lot of white space you can't use, and I can't find a way to expand the section
It's even funnier if you use a wide screen, because then you have enormous white space on the right side of the monitor.