locked
return xelement from WebAPI for Tile notifications

    Question

  • Hi All,

    I am planning to return XElement from a WebAPI which can be consumed in my app (using  HTML/JS).

    but returning XElement does not works in WebAPI. what could be the alternative way?

    Note: the reason for returning the XElement is to have dynamic template for my tiles so that to need to change any logic in my app itself. Instead of constructing the xml data in my app, I wanna pull it from service itself.


    Nazia

    Friday, November 29, 2013 12:59 PM

All replies

  • Hi Nazia,

    Take a look at this documentation: The tile template catalog. Can you make sure that all your XElement returned by WebAPI is belonging to one of the templates?

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, December 02, 2013 10:00 AM
    Moderator