Edit

Appear in suggestions row - integrate Windows Share

The Windows Share Sheet can display suggested contacts in the suggestions row, so users can quickly share with their top contacts. By storing your app's contacts in Windows, you let those contacts appear as suggestions.

How the suggestions row works

The suggestions row appears at the top of the Share Sheet and shows contacts the user is most likely to want to share with. Windows sources these suggestions from the People on Windows feature, which aggregates contact information from your app and other apps on the device.

Enable contact suggestions for your app

To make your app's contacts appear in the suggestions row, your app needs package identity. The high-level steps are:

  1. Create a UserDataAccount for the People contract
  2. Store your app's contacts in the Windows ContactStore
  3. Contacts surface as suggestions on the Share panel for relevant sharing scenarios

Learn more

For comprehensive guidance on implementing contact suggestions, see People on Windows.

The People on Windows page covers:

  • Creating a UserDataAccount for the People contract
  • Storing contacts in the Windows ContactStore
  • Required and optional contact fields
  • Controlling access to your contacts with ExplictReadAccessPackageFamilyNames (note: this is the actual API spelling)