Fullstack OData 4.0 howto–Open types

Author: Robert Bonay January 27th, 2016

OData v4.0 introduced the open type concept in order to manage dynamic properties in the payload without defining them in the EDM model.


Define custom OData v4 open type – .NET server-side

Define custom open type in JayData – JavaScript

If you not define your property at client side it JayData use defaults. Default OpenType property is ‘dynamicProperties’.

Defining custom dynamic properties in JayData

Setting fields of open types – .NET server-side

Setting values to properties of open types with JayData – JavaScript