Issue with sharing app listing page


  • Hi,

    I am trying to share my app listing page through share contract, but it is failing for some reason.

    Here is the code that I am using.

     var request = e.request;
                try {
                    var linkUri = Windows.ApplicationModel.Store.CurrentApp.linkUri;
                catch (e) {
                    var linkUri = "http://flixuniverse.com";
                var localImage = "images\\logo.png";
                request.data.properties.title = "FlixUniverse";
                request.data.properties.description = "Watch holywood movies on FlixUniverse.";
                try {
                    request.data.setUri(new Windows.Foundation.Uri(linkUri));
                    console.log && console.log("", "sample", "error");
                } catch (ex) {
                    console.log && console.log("Exception occured: the uri provided is not well formatted.");

    I am not sure is the right way of getting the app listing page URI.

    Thanks in advance for any help.



    Tuesday, October 09, 2012 10:59 PM

All replies