Possible to alter Odata attribute sequence?

0
Hi there, Is there any way to alter the sequence of Odata attributes by using a query option? I have tried using the "?$select" query option, but this still seems to return the data in the same sequence as the Entity attribute sequence. Any input will be appreciated.
asked
4 answers
0

Don't know if this is what you mean but you could use for example $orderby=Name asc to alter the order.

See https://docs.mendix.com/refguide/odata-query-options

answered
0

Only way to do this, as far as I know, is to change the attribute sequence on the entity itself, and then re-export the service feed.

answered
0

Yes, the order of the properties is described in the metadata, so it's always the same.

Why do you want to do that?

answered
0

Hi there,

It seems that OData has added support for Column Sequence order, any idea when it will be made available in Mendix :)

Regards,

Bertram Kranz

answered