Try Now
More in this section

Forums / Module Builder / how to use sitefinity web service to display related data in mobile app

how to use sitefinity web service to display related data in mobile app

2 posts, 0 answered
  1. Somnath Kar
    Somnath Kar avatar
    1 posts
    07 May 2010
    13 Apr
    Link to this post
    I installed latest version of Sitefinity. Then I created a custom module named "students" (1.png). with two content types - #1. students #2. studenclass
    Then I entered two values like "Class I" and "Class II" in studenclass
    Then entered values for Students like below where studenclass mapped with studenclass module/content type of student module.
    Title - RollNo - studenclass - student image
    "ABC" "MM0001" "Class I" <student image>
    "XYZ" "MM0002" "Class I" <student image>
    "DEF" "MM0007" "Class II" <student image>

    Then created a web service from Administration --> Web Service named "Student" (2.png).
    If we run this url in browser it returns value properly - (3.png) (4.png)

    Now, I want to know how I can show related data ?
    Example: First, I want to list classes and I get that data from - Now, I want to show all students when user click on any particular class. should we need to write any custom code/service to get related data? or we can pass the "id" of that particular class to an URL to get the data. Also, how to fetch the Student Image by passing the student id to an URL?
    We want to show all data using Kendo UI.
    Note: All are local url, so I attached images here.
  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    17 Oct 2016
    18 Apr
    Link to this post
    Hi Somnath,

    You can check the client Binder controls sample here:

    About the Kendo Grid binding to odata source you can check in that documentation article:

    Svetoslav Manchev
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered