This question is locked. New answers and comments are not allowed.
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.
});