Extending the Save to Web Functionality in the Office 2010 Backstage View
Summary Learn about the requirements to add additional Save to Web providers to the Save & Send tab in the Office 2010 Backstage view.
Applies to: Microsoft Excel 2010 | Microsoft PowerPoint 2010 | Microsoft Word 2010
Published: May 2010
Provided by: Microsoft Corporation
Save to Web Functionality in the Office 2010 Backstage View
Microsoft Office 2010 provides the ability to save a file to the Microsoft Windows Live SkyDrive from Microsoft Excel 2010, Microsoft PowerPoint 2010, and Microsoft Word 2010 (see Figure 1).
Figure 1. Save to Web option in the Backstage view
This topic describes how to programmatically add more Save to Web providers to the Save & Send tab in the Microsoft Office 2010 Backstage view that enable users to save to different locations on the web other than the Windows Live SkyDrive.
Web Provider Protocol Support Requirements
Save to Web providers must support the following protocols:
Extending the Save to Web Functionality
To display an additional Save to Web provider on the Save & Send tab, you must create a registry key in the following Microsoft Windows registry location:
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To add a key to the Windows registry, follow these steps.
To add a key to the Windows registry
Click Start, click Run, in the Open box, type regedit, and then click OK.
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\Common.
On the Edit menu, point to New, and then click Key.
Finally, add the string values described in Table 1 by clicking Edit, pointing to New, and then clicking String Value.
This registry key must be unique. Therefore, it is recommended that you use a globally unique identifier (GUID). There are several ways that you can generate a GUID. For example, to generate a GUID in Microsoft Visual Studio, follow these steps:
To generate a GUID
Start Microsoft Visual Studio.
On the Tools menu, click Create GUID. The Create GUID tool appears with a GUID value in the Result box.
Select the format that you want for the GUID value and then click Copy.
The GUID value is copied to the Clipboard so that you can paste it into the source code.
You can also create a GUID value online at the following location: http://createguid.com/
The WebIntegration registry key has the following seven string values. All values must be non-zero and can be no larger than 129 characters.
Table 1. List of registry settings
|Registry String Value||Description|
The value displayed for the title. (for example: Windows Live SkyDrive)
The value that is used by a web browser to open the web site where the files are to be saved. (for example: https://skydrive.live.com)
The value that is used by a web browser to open the web site where you can learn more about the provider. (for example: https://learnmoreabout.mywebsite.com)
The value displayed as a sign-in prompt which tells you what credentials to use to sign in. [for example: Sign in with: Windows Live ID (Hotmail, Messenger, XBOX Live)]
The value that is used by a web browser to open the web site where you can sign up for access to the provider’s service. (for example: https://signup.live.com)
The value of the web service. (for example: https://docs.live-tst.net/SkyDocsService.svc) Note that HTTPS is recommended for this Url.
The value that is stored for the server or web site if user credentials are stored in the Windows Credential Manager. (for example: Passport.Net\\*)
Adding provider options to the Save to Web option on the Save & Send tab requires you to add a key to the Windows registry. Adding additional options is a great way to extend the productivity of your Microsoft Office applications.
For more information, see the following resources: