[For full details on working with the Windows Store, see Chapter 20 of my free ebook Programming Windows Store Apps with HTML, CSS, and JavaScript.]

For this final post, I wanted to provide the list of ms-windows-store URIs that you can launch for various purposes (using Windows.System.Launcher.LaunchUriAsync). These are in my book, but are good to have as a blog post:

  • ms-windows-store:PDP?PFN=<package_family_name> links directly to the app’s page; the package family name is what comes back from Windows.ApplicationModel.Package.current.id.familyName.
  • ms-windows-store:REVIEW?PFN=<package_family_name> goes to the Ratings and Reviews section of the Store for your app, which is what the Rate And Review command in your Settings pane does. You can launch this URI from your app directly when inviting a review. Note, however, that there is not presently a means to determine whether the user left a rating or review.
  • ms-windows-store:Publisher?name=<publisher_display_name> Links to a page that shows all your apps, which you might do from an About pane in your Settings. The publisher name can be from Package.current.id.publisher.
  • ms-windows-store:Updates opens the Store’s updates page (no arguments). You can use this when you detect that the user is running an older version
  • of your app, which suggest they’ve opted out of auto-updates.
  • ms-windows-store:Search?query=<search_string> executes a search in the Store.

Comments are closed