Expand Data is not working now!

4 posts, 1 answers
  1. Romel
    Romel avatar
    6 posts
    Member since:
    Feb 2015

    Posted 06 May 2015 Link to this post


    Currently we have a code that pull data with relationship and we apply the expand data see code below.

    After a week without changing any codes and test it today its not working. Previously it give the "TeamMembers" object with (names, description and etc..) but now its only gives the "Id" of objects.

     Also check the console log but it not gives a error message.

     Looking for answer for this issue.




    01.var expandExpression = {
    02.    "TeamMembers": true
    05.var teamMembersDataSource = new kendo.data.DataSource({
    06.    type: 'everlive',
    07.    transport: {
    08.        typeName: 'Teams',
    09.        read: {
    10.            beforeSend: function (xhr) {
    11.                xhr.setRequestHeader("X-Everlive-Expand", JSON.stringify(expandExpression));
    12.            }
    13.        }
    14.    },
    15.    schema: {
    16.        model: {
    17.            id: attendr.everlive.idField
    18.        }
    19.    },
    20.    sort: {
    21.        field: "CreatedAt",
    22.        dir: "desc"
    23.    }

  2. Romel
    Romel avatar
    6 posts
    Member since:
    Feb 2015

    Posted 06 May 2015 Link to this post

    In addition its the same backend that in use in Screen Builder thats having a changes "Please be informed that as we move to v1 of Screen Builder, all projects created with the old Beta versions of Screen Builder won't open in the new versions. You can still edit, simulate, build and deploy the old projects with AppBuilder."

     Any idea and suggestion.


  3. Romel
    Romel avatar
    6 posts
    Member since:
    Feb 2015

    Posted 07 May 2015 Link to this post

    Hi Admin,

    Also tried to create a sample code in kendo please check we need this to demo our app.




  4. Answer
    Vasil avatar
    19 posts

    Posted 08 May 2015 Link to this post

    Hi Romel,

    We have updated the way the Backend Services Kendo Data Source works. I have just posted a reply to your post in the Backend Services forums with a working sample - this is a direct link: http://www.telerik.com/forums/accessing-everlive-with-kendo-datasource#8l0pcSZUXkCzxzfLWOI8Mw

    Once again I apologize for the confusion and we will try to update the official documentation in a timely fashion.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top