Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80923

Mendix 7 - problem with mx.data.get and filter.references

$
0
0

Hallo,

in our custom widgets we use the filter.references option of the mx.data.get, in order to be able to reach from a mendix object not only the guid of another mxObj (associated to the first one) but also its attributes.
Once the object is retrieved using the filter.references, mxObj.get("mxObj1_mxObj2") used to return an object, containing, among others, the keys 'attributes' and guid, so that for example the command
mxObj.get("mxObj1_mxObj2").attributes['Name'].value 
used to return the value of the attribute name of the second obj.

Running the same project in Mendix 7, we got several errors, since the line mxObj.get("mxObj1_mxObj2") now returns only the id of the refered object, even if, for what I can see, mxObj contains exactly the same amount of information as before.

I could not find any comment about these changes in the release notes of mendix 7 (a change on the get function is mentioned, but not about how to use filter.references); also in the description of mx.data.get there is a reference to 'options' for the argument filter.references, but I could not find any further documentation.

I would be very grateful if you could point me out any possible solution or any extra documentation for this options.

Thank you in advance.


Viewing all articles
Browse latest Browse all 80923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>