consuming OData v4 service

0
I'm working with an OData v4 service in Java and trying to consume this service in Mendix. However, I'm encountering an issue: for the entities, only read access is available, while CREATE, UPDATE, and DELETE operations seem to be disabled. Despite this, I can perform CRUD operations using Postman, so I know my service has full CRUD accessibility. Here's what I've done so far: 1. Added the OData service. 2. Consumed the OData service. 3. Dragged and dropped the entities into the data model. I followed the tutorial on [How to Consume an OData Service in Mendix OData consume     As a beginner with Mendix, I'm unsure if this is the correct approach or if I'm missing any steps to enable full access for the OData service. Can anyone provide guidance on how to ensure full CRUD functionality for the OData entities in Mendix? Any help would be greatly appreciated.
asked
2 answers
1

This seems to be a limitation on the current connector capabilities, which should hopefully be resolved in the future.

 

A workaround is to use REST calls/posts instead of the connector.

 

 

answered
0

Medium blogs can be helpful for getting started, but they are not always fully accurate or up to date. For OData write operations in Mendix, it’s best to follow the official documentation rather than relying solely on blog posts.

 

I would recommend going through the steps again based on the Mendix docs here:

https://docs.mendix.com/refguide10/write-data/

 

This documentation explains how writing data to external OData services works in Mendix and clarifies that external entities do not behave like regular persisted entities (for example, there is no normal “commit”). If, after following the official guide, the entities still appear read-only, the most likely cause is that the OData service metadata does not expose the required CRUD capabilities.

 

Starting from the official documentation usually helps avoid confusion and aligns better with how Mendix actually handles OData write operations.

answered