Vincent
Vincent

Reputation: 3304

How to generate a link directing to all apps of a publisher in microsoft store?

I'm a uwp developer, and I have published 4 apps in Microsoft store.

Now I want to add a button, which can open the store page published by me.

Like below.

How? Thanks :)

enter image description here

Upvotes: 3

Views: 852

Answers (2)

Pavlo Datsiuk
Pavlo Datsiuk

Reputation: 1118

There is another schema available for WinStore for filtering by publisher

Here is example "ms-windows-store://publisher/?name=Printslon"

Launches a search for products from the specified publisher. Spaces in the name are allowed.

https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-store-app

Upvotes: 3

Shubham Sahu
Shubham Sahu

Reputation: 2015

First of all you need to set unique tag in app store for your app which shows result for your app only or through your username as i mention in above comment

private async void YourButton_Click(object sender, RoutedEventArgs e)
{
    await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store://search/?query=shubdragon"));
}

alternately you can also search for multiple tags (Not Recommended) -

"ms-windows-store://assoc/?Tags=Photos_Editor, Camera_App, FM_Radio_Tune, DevShare" 

Insert your user name in query="YourUSerNameInTheStore" and it is case sensitive else it will give wrong result or something else. Don't Forget the make scope async.

Suggestion you can use very weird tag like 2246jklm in all your apps then set it is as query=2246jklm so it will never show other apps result

Upvotes: 2

Related Questions