locked
Polled URI with dynamic Data for Live Tile Update

    Question

  • Hi,

    Im planning to update my live tile using polled Uri using

    notifications.TileUpdateManager.createTileUpdaterForApplication().startPeriodicUpdate(url, recurrence);

    As per the sample, the data is static. But I want the data to be dynamic.

    I tried of returning same xml string from the service. but while assigning it to notification it is getting failed ,as the object type is not XML. some thing like in below sample

    var tileXml = '<tile><visual version="2"><binding template="TileWide310x150Text03" fallback="TileWideText03"><text id="1">Hello world!</text></binding></visual></tile>';
    var xmlDoc = new window.ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.async =false;
    xmlDoc.loadXML(tileXml);
    

    But this is failing as I guess unable to generate ActiveX object.

    Any suggestions on above or any other easy/best way to do that.

    Trying to use this so that the data/content can be changed dynamically and flown in to the app anytime, instead of constructing it at app end.

     

     


    Thanks & Regards Tejaswi Chandrapatla

    Thursday, November 28, 2013 2:15 PM

Answers