Hi everybody,
I am building an offline app. In my app I want to retrieve objects through association in javascript. I believe that these objects are not yet synced to my offline, because in the JSON message I don't see them. (I know the GUIDs of the objects that are associated to my context object.) I tried to use mx.data.get and mxobj.fetch and it does not retrieve any objects. It does work in my brower and on my online app though. Probably because it can connect to the server.
I saw this post https://forum.mendixcloud.com/link/questions/17232 and I tried mx.data.getSlice but it does not work. It shows in my console the message: Function is not implemented yet.
In this post https://forum.mendixcloud.com/link/questions/81972 someone mentions that creating of objects can only be done is there is i.e. a listview to show these objects. Could it be possible that retrieving my objects through association is only possible if I for example use a listview to show the objects so that they are synced to my offline app?