locked
Windows Live Tile not flipping as expected RRS feed

  • Question

  • I am using Push Notifications from Azure to my tile on StartPage.

    This is my Azure Script

    function insert(item, user, request) {
       request.execute({
            success: function() {
                request.respond();
                sendNotifications();
            }
        });
    function sendNotifications() {
        var channelTable = tables.getTable('Channel');
        channelTable.read({
            success: function(channels) {
                channels.forEach(function(channel) {
                    push.wns.sendTileWideText01(channel.uri, {
    
                         text1: item.Name,
                         text2: item.Type,
    
                    }, {
                        success: function(pushResponse) {
                            console.log("Sent push:", pushResponse);
                        }
                    });
                });
            }
        });
    }
    

    Now i am inserting 6 records into table ,i can see them in my table. But the live tile flips only twice. I thought the expected behavior is it should 6 times. Also the second point is after flipping i expect it to land on the default tile[the tile before push notifications start],but it is stuck on last update to live tile. I am new to store apps dev ,so any help greatly appreciated.

    Tuesday, June 18, 2013 12:18 AM

Answers

  • For help with sending notifications from Azure please post in the Azure forums.

    For client side capabilities please see Tile and tile notification overview

    Are you enabling cycling in your notifications? If not, then the last notification received will override the previous ones (you can override specific ones with tags). If two come in at the same time only the last will take effect. If you have many updates at the same time you probably want to merge the into a single notification.

    See How to use the notification queue with local notifications

    Notifications replace the default tile. They won't automatically expire to show the default tile unless you Set an expiration time for the notification .

    Again, please post in the Azure forums if you need help with how to use the Azure push system to generate notifications.

    --Rob

    Tuesday, June 18, 2013 12:48 AM
    Moderator