$metadata for Published Odata resources

0
While creating a Published Odata service can we use some kind of metadata file to generate the resources that we want to expose through our published service? I want to expose a field with type “Edm.Guid” but mendix doesnot allow creating fields with this type through Studio Pro. So I was hoping just like consumed Odata metadata URL/file can we have similar thing in Published Odata service.  
asked
2 answers
0

Yes, you can use metadata files to define the resources that you want to expose through your published OData service. In fact, metadata is a crucial component of OData, as it provides a standardized way of describing the structure and semantics of the data that is being exposed.

Mendix does not allow creating fields with the "Edm.Guid" type through Studio Pro, but you can define the field in the metadata file that you use to generate your published OData service.

answered
0

Hi Mayank,

 

The Metadata is available with a published odata service right?

Check the export fieldset the second item for ‘metadata’.

In this metadata, all the entities and fields (attributes) you have exposed are available.

 

answered