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

"data" lacks "_type" field on create operation

1 Answer 10 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
DJo
Top achievements
Rank 1
DJo asked on 25 Jun 2013, 05:02 PM
I've got a dataSource which consumes a WCF service. On an update the parameterMap "data" argument has a "_type" field in addition to all the fields in the schema, while on a create the data lacks this field. The WCF service will not accept the data without the "_type" field, so the create operation fails.

Any tips?

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 27 Jun 2013, 11:28 AM
Hello David,

Binding to WCF services is demonstrated in this projects on our GitHub repository.

Generally speaking if you want to send additional parameters to the server you should use the data function - check the documentation for examples.

Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
DJo
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or