The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
[UWP][C#] open speceific Developer page with published app in the store. RRS feed

  • Question

  • I want when user click on my custom ads

    1. Windows Store will be opened

    2. By default page with my published app list will be sown

    Q: How to open page with all my published apps ?


    Media Store


    • Edited by Breeze Liu Monday, March 20, 2017 7:10 AM add tag
    Friday, March 17, 2017 9:33 AM

Answers

  • Hello,

    Try launching "ms-windows-store:..." URI for by-publisher search result page as below.

        private async void Button_Click(object sender, RoutedEventArgs e)
        {
            var publisher_name = Windows.ApplicationModel.Package.Current.Id.Publisher.Split('=')[1];
            var publisher_uri = new Uri(@"ms-windows-store://publisher/?name=" + publisher_name);
            await Windows.System.Launcher.LaunchUriAsync(publisher_uri);
        }

    Launch the Windows Store app
    https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-store-app

    • Proposed as answer by Breeze Liu Monday, March 20, 2017 6:35 AM
    • Marked as answer by SmartWhy Monday, March 20, 2017 9:26 AM
    Saturday, March 18, 2017 1:27 AM