Create a dynamic preview for documents in SharePoint

Create a dynamic preview for documents in SharePoint

Blew some minds at customers with SharePoint List formatting and Power Automate flows (read here Part 1, Part 2, Part 3) but the preview of an image was not, what they had in mind.

Question: Luise, can you build...

a dynamic preview, so that we can click through our PowerPoint presentations?

Answer: Yes of course, we need...

a page, a library and 2 webparts for that 🙂

Here we go:

  1. Create a new page
  2. Clean up the page, we don't want to display text here
  3. Insert the document library in the left column
  4. Insert the file viewer web part in the right column
  5. Cancel the dialog that asks which document you want to preview
  6. Click the Pencil Icon on the file viewer web part
  7. Click the Ellipsis Icon at the top right corner and select Connect to source
  8. In the Dropdown Menu select your document library
  9. Publish your page

Create a dynamic preview of documents in SharePint

💡 You can now click through presentations, scroll through lengthy Word files and preview Excel spreadsheets.


Sweet little #SharePoint hack 🚀



Luise is an independent Microsoft 365 Consultant, Low Code Developer, Microsoft MVP for Office, Apps & Services, Member of PnP team, Sketchnotes Artist and Lego Addict based in Germany. Do you need help with your project, want to exchange views or just connect? Feel free to follow me in twitter, LinkedIn or get in touch via contact form.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.