Receiving shared content (HTML)

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

Sharing is how users connect the content of your app with the people they care about and the apps they use most. If you want to write an app that can receive this content, take a look at the topics in this section.

In this section

Topic Description

Quickstart: Receiving shared content

Walks you through the steps required to receive shared content from another application.

How to receive text

Text is perhaps the most common of all data formats that users share. In addition to being the first choice for content such as status updates, it is a recommended option for apps that share links, HTML, and other information.

How to receive a link

Links are a common form of data that users want to share. Sometimes the user shares a link directly (such as from an article on a website). Supporting links is also helpful as a secondary option when users are sharing HTML or content that might be available online.

How to receive HTML

HTML content can consist of a variety of content, including text, images, and other information. Here's how your app can receive the HTML content a user wants to share.

How to receive files

Sharing files requires a little more preparation than simpler data types, such as text. When sharing files, you need to consider how long it might take to process the files.

How to create a QuickLink

Users want their ability to share content with friends and family to be an extension of their computer experience. Apps that embrace this concept create an environment that enables users to share content quickly and easily. By supporting the Share Target contract, you can make the sharing experience even easier by using a custom shortcut called a QuickLink. A QuickLink acts as a link to your app that's customized for a specific set of user actions.


If you want to supply content for users to share, check out Sharing content.

Guidelines and checklist for sharing content

Share Target Contract item template

Sharing content target app sample

Guidelines for debugging target apps