Hi,
is there a way to automatically screenshot a file and then save the screenshot to a certain folder?
I would like to save a PowerPoint file (only one slide!) to my OneDrive and then automatically create a screenshot of the whole slide. If taking a screenshot doesnt work, is it maybe possible to export the slide as an image?!
Thanks in advance and happy new year!
Tom
Hi @ts101
For SharePoint you can use the rest api
_layouts/15/getpreview.ashx?path=completefileurl&resolution=3
to get a snapshot of a file (I beleive it picks up the first image) - check the documentation for this api
for OneDrive graph api does have endpoints to get the thumbnails
Also, you could use the new UI flow (preview) to access onedrive and accordingly take snapshot of file
UI flow Vlog https://www.youtube.com/watch?v=DBT_-T9WXWE&list=PLTyFh-qDKAiGh4gKhQN1Bu9qHsWVlbdVd
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Hi @ts101
Not sure this can be achieved via Flow. Also the challenge is what's going to be your trigger for the flow (Manual?).
PowerPoint can save file as image by select file > save as > choose the location (one drive) and filename.
Thanks
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492