Last Updated: 06 Apr 2022 13:50 by ADMIN
Otto Neff
Created on: 10 Nov 2015 12:54
Category: Data Source
Type: Feature Request
Problem OData v4 and parameterMap
see Ticket ID: 981260

var dataSource = new{
      type: "odata-v4",       

works correct, but if you just define parameterMap
the payload of parameters is not "odata-v4" it changes to old odata
with this:

var dataSource = new{
        type: "odata-v4",
        transport: {
            parameterMap: function(data)
                return data;

This feels like I set dataType JSON for transport, and if I just define beforeSend in Ajax Request,
I suddenly becomes XML just by defining a overwrite function.
Angel Petrov
Posted on: 06 Apr 2022 13:50


Generally if the parameterMap function is used one should manually format the parameters. In case one wants to have something like our built-in formatting he can modify the logic as follows.

parameterMap: function(data, type)
                            var params =["odata-v4"].parameterMap(data, type, true);
                            return params;

Angel Petrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at

Imported User
Posted on: 13 Jul 2018 20:27
still broken as of july 2018.