As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
How to fetch relational Kinvey references using find() method in hooks/endpoints/backbonejs code ?
m
mukund
started a topic
about 9 years ago
When i am trying to fetch the KinveyReference data from one of the fields in my collection, using the collectionAccess module find() method or the fetch method in backbone JS , it is just returning me the id's of the related objects and not the actual objects. How can i get that working and fetch all the related object's data too?
I have saved it using Kinvey's mechanism. Is there something like the getTypedObject method for the android platform there for the web platform too ?
Hi mukund, sorry for the delay-- I think that this question may be a JS library question, so I am recategorizing it so we can get the right eyes on it.
M
Mark
said
about 9 years ago
Yes, the Backbone library supports fetching all related objects through the [Backbone Assocations](https://github.com/dhruvaray/backbone-associations) plugin. See our [documentation](http://devcenter.kinvey.com/backbone/guides/datastore#RelationalData) on how to set this up and use it.
mukund
I have saved it using Kinvey's mechanism. Is there something like the getTypedObject method for the android platform there for the web platform too ?