Launch PowerPoint files into slideshow mode


Tech Trek – 2011.07.06

I was researching for methods to launch PowerPoint documents into slide show mode from a SharePoint document library. In SharePoint 2010, a document will launch into presentation mode once you save the file as “PowerPoint Show” format i.e. resulting into ppsx file extension.

Unfortunately, the side effect of this approach launches the dialog box below and prompts the user to confirm the operation for security reasons.

More interestingly, I’ve noticed that there is a feature with the new PowerPoint web viewer to start the slide show. By default, you will have to manually click a button when using the “View in Browser” option.

It caught my eye that there was a “PowerPointView=ReadingView” parameter being passed to the URL. After some research, I was able to find that there are a couple of options for this property. Viola! I was able to launch the slide show mode by replacing the value of the parameter into “SlideShowView” (camel-case required).

http://site/_layouts/PowerPoint.aspx?PowerPointView=SlideShowView&PresentationId=url

To that end, no dialog prompt was needed since the document was not opened using PowerPoint application. Unfortunately, launching this the first time will take time since it loads the viewer and the file into memory. Also, you will have to create such links manually, or may resort into creating custom menu actions to make it available to users.

MSDN resource: PowerPointView

Advertisements

2 thoughts on “Launch PowerPoint files into slideshow mode

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s