How does the react client get the context object?

0
In the latest version, how to get the context object? mx.meta is now undefined and mx.data.getEntity() is not available.
asked
3 answers
0

Hi Su

 

You can try mx.data.get to retrive the object.

 

example:

mx.data.get(

{    guid: [],

callback: function(creditCard) { }});

 

I hope this helps    

 

answered
0

Yes. It has been changed. You can look at the documentation here.

Screenshot 2025-11-25 at 15.14.34.png

answered
0

In the newer versions of Mendix, the React Client is the default setting for the runtime.

Still, it is possible to turn it off and use the old runtime, but you will lose the performance benefit of it. App Settings

The best practice for accessing data with the React Client is to pass it as a data source in the widget settings, allowing for more control over security and maintenance.

answered