Forum Discussion

Justrollo's avatar
Justrollo
Copper Contributor
Aug 22, 2022
Solved

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...
  • kalpeshvaghela's avatar
    Aug 22, 2022

    Justrollo 

     

    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

     

Resources