More in this section

Forums / Developing with Sitefinity / Populating JSON data into sitefinity

Populating JSON data into sitefinity

2 posts, 0 answered
  1. Xin
    Xin avatar
    1 posts
    Registered:
    28 Feb 2013
    14 Mar 2013
    Link to this post
    I'm trying to grab JSON data from our WebAPI's. I want to be able to parse and populate the data into a sitefinity page. What might be the best approach to this problem? Would building a custom widget solve this problem?

    Thanks
  2. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    15 Mar 2013
    Link to this post
    Hello Xin,

     Thank you for contacting us. 

    Yes building a custom widget is your best bet to consume JSON from an outside source and display it on the page. With this method you could consume the WebAPI as you would in any other asp.net application as the widget's are based off user controls or custom controls. Here's a video on how to create custom widgets. If you don't have it already I highly recommend using Sitefinity Thunder as it makes the process infinitely easier from development to installing your custom widget.

    I hope this helps.

    Regards,
    Patrick Dunn
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered