Open an O365 PowerPoint file in presentation mode and at a specific slide

The subject pretty much says it all.  I have an O365 PowerPoint file into which I'd like to insert links to other O365 PowerPoint files.  I want these to open those files at a specific slide and in presentation or slideshow mode.

The O365 viewer seems to be pretty locked down with nested iframes and appears to require a POST request.  The "friendly" URL you see in the doc library gets translated to something like https://powerpoint.officeapps.live.com/p/PowerPointFrame.aspx for the iframe, and the wdSlideId querystring parameter that targets a specific slide doesn't get passed on to the iframe URL.

Is there a way to make this work?

Thanks in advance!

Jared

Answer
Answer

Hi James,

When I use a link like what you provided, I get prompted to download the document.  Also, targeting the slide position isn't ideal because it could change if the slide sequence is later modified.

Last night, I determined a URL format that works to target a specific slide and open in slideshow mode:

https://subdomain.sharepoint.com/personal/my_account_name/_layouts/15/WopiFrame.aspx?sourcedoc=powerpoint_item_guid&action=embedview&wdSlideId=slideId

I can get the slide ID using my custom Office add-in, and I'm working now to determine how to get the SharePoint item ID using the Office API.

-Jared

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 5, 2020 Views 2,765 Applies to: