This is a migrated thread and some comments may be shown as answers.

Expand Data is not working now!

3 Answers 64 Views
AppBuilder in-browser client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Romel
Top achievements
Rank 1
Romel asked on 06 May 2015, 06:02 AM

Hi,

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.

Thanks,

Romel

 

01.var expandExpression = {
02.    "TeamMembers": true
03.};
04. 
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.    }
24.});

3 Answers, 1 is accepted

Sort by
0
Romel
Top achievements
Rank 1
answered on 06 May 2015, 09:15 AM

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.

Romel

0
Romel
Top achievements
Rank 1
answered on 07 May 2015, 07:14 AM

Hi Admin,

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

http://dojo.telerik.com/ahACA

Thanks,

Romel

0
Accepted
Vasil
Telerik team
answered on 08 May 2015, 06:27 AM
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.

Regards,
Vasil
Telerik
 

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

 
Tags
AppBuilder in-browser client
Asked by
Romel
Top achievements
Rank 1
Answers by
Romel
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or