SOLVED

Web app for PDF file preview

%3CLINGO-SUB%20id%3D%22lingo-sub-2240508%22%20slang%3D%22en-US%22%3EWeb%20app%20for%20PDF%20preview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2240508%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20create%20a%20page%20with%20a%20list%20of%20documents%20of%20a%20Document%20Library%20and%20a%20pane%20in%20which%20the%20document%20is%20previewed.%20The%20documents%20are%20all%20in%20PDF%20format.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20exist%20a%20web%20app%20that%20can%20be%20used%20to%20preview%20a%20PDF%20file%20selected%20in%20al%20document%20library%20list%20in%20the%20same%20page%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2240508%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efile%20preview%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2240521%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20app%20for%20PDF%20file%20preview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2240521%22%20slang%3D%22en-US%22%3EHi!%3CBR%20%2F%3EYou%20can%20achieve%20this%20by%20using%20the%20standard%20document%20library%20web%20part%20and%20the%20file%20viewer%20web%20part.%20You%20can%20connect%20both%20Web%20Parts%20to%20model%20the%20scenario%20described.%20More%20information%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fconnect-web-parts-in-sharepoint-b457668c-d843-4b1b-8977-a6f9228a1dec%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fconnect-web-parts-in-sharepoint-b457668c-d843-4b1b-8977-a6f9228a1dec%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

I would like to create a page with a list of documents of a Document Library and a pane in which the document is previewed. The documents are all in PDF format.

 

Does exist a web app that can be used to preview a PDF file selected in al document library list in the same page?

 

Thank you.

 

3 Replies
best response confirmed by Paolone67 (Occasional Contributor)
Solution
Hi!
You can achieve this by using the standard document library web part and the file viewer web part. You can connect both Web Parts to model the scenario described. More information: https://support.microsoft.com/en-us/office/connect-web-parts-in-sharepoint-b457668c-d843-4b1b-8977-a...
Thank you for your answer.

I tried and I was able to build a page.

Can I also disable the annoying hyperlink that opens the document when I click on it? I need a list to select the document to view in the file viewer web part, not a list to open each document.

Thank you.

@Paolone67 as it's a document library and not a list it is expected behaviour that double-clicking on the document name will open it. But a single click will display the document in the file viewer connected web part as in the attached video. I don't know of a way to remove the hyperlink completely other than by building a solution in Power Apps.

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User