More in this section
Forums / Developing with Sitefinity / Populating JSON data into sitefinity

Populating JSON data into sitefinity

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Xin
    Xin avatar
    1 posts
    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?

  2. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    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 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.

    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