Search code examples
sharepointpowerpoint

How to open a particular slide in SharePoint presentation in a browser?


I want to open a presentation with a specific slide on. I know the slideId (4540) which is different from slide number(4). I tried the following urls but they always opens with slide 1.

https://xyzsolutions.sharepoint.com/sites/2021/Shared Documents/General/xyzfolder/xyzppt.pptx?&web=1&wdSlideId=4540

https://xyzsolutions.sharepoint.com/sites/2021/Shared Documents/General/xyzfolder/xyzppt.pptx?&web=1&wdSlideNumber=4

what is the correct URL to be used?

Reference


Solution

  • If you look at the link created by the Link to this Slide it contains &nav=eyJzSWQiOjI1OSwiY0lkIjozNzk4ODEzMTY1fQ or equivalent. If you decode the base64 string you get {"sId":259,"cId":3798813165} in the above example. I'm presuming sId in your case would be 4540 and the cId is defined for the particular powerpoint document. So https://xyzsolutions.sharepoint.com/sites/2021/Shared Documents/General/xyzfolder/xyzppt.pptx?&web=1&nav=eyJzSWQiOjI1OSwiY0lkIjozNzk4ODEzMTY1fQ (or equivalent should work)