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: Excel 2010 | Office 2007 | Office 2010 | Open XML | PowerPoint 2010 | SharePoint Server 2010 | VBA | Visual Studio | Word 2010

In this article
Save to Web Functionality in the Office 2010 Backstage View
Web Provider Protocol Support Requirements
Extending the Save to Web Functionality
Conclusion
Additional Resources

Published:   May 2010

Provided by:   Microsoft Corporation

Contents

  • Save to Web Functionality in the Office 2010 Backstage View

  • Web Provider Protocol Support Requirements

  • Extending the Save to Web Functionality

  • Conclusion

  • Additional Resources

Save to Web Functionality in the Office 2010 Backstage View

Microsoft Office 2010 provides the ability to save a file to the Microsoft OneDrive from Microsoft Excel 2010, Microsoft PowerPoint 2010, and Microsoft Word 2010.

This topic describes how to programmatically add more Save to Web providers to the Save & Send tab in the Microsoft Office 2010Backstage view that enable users to save to different locations on the web other than the OneDrive.

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:

HKEY_CURRENT_USER\Software\Microsoft\Office\Common\WebIntegration\

Warning

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

  1. Click Start, click Run, in the Open box, type regedit, and then click OK.

  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\Common.

  3. On the Edit menu, point to New, and then click Key.

  4. Type WebIntegration.

  5. 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

  1. Start Microsoft Visual Studio.

  2. On the Tools menu, click Create GUID. The Create GUID tool appears with a GUID value in the Result box.

  3. 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

(Default)(required)

The value displayed for the title. (for example: Microsoft OneDrive)

HomePageUrl(required)

The value that is used by a web browser to open the web site where the files are to be saved.

LearnMoreUrl(required)

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)

SignInMessage(required)

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)]

SignUpUrl(required)

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)

WebServiceUrl(required)

The value of the web service. Note that HTTPS is recommended for this Url.

TargetforSavedCredentials (optional)

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\\*)

Conclusion

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.

Additional Resources

For more information, see the following resources: