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.
I'm trying to understand the best way to set up entities with relational connections using the "KinveyRef" model. It doesn't seem like this is easily done as of yet. I just read this:
"In the future we plan to provide helper methods, or to make the same syntax as JS library available in BL."
In my custom BL, when I manually nest objects with
_type: "KinveyRef"
_collection: "collectionName"
And insert them into my entity, it doesn't seem to resolve the same way versus doing it on the client side with:
We need to do a relatively heavy amount of processing to create our entity, so it doesn't make sense for it to be done client side. Any ideas on when a BL API will be available to make this process a bit easier? Or maybe I'm missing something. :)
1 Comment
C
Caroline
said
about 9 years ago
Hey Dave, have you seen our CTO's latest blog post on [Data Modeling in Kinvey](http://www.kinvey.com/blog/3732/data-modeling-in-kinvey "Data Modeling in Kinvey")?
Dave Ackerman
I'm trying to understand the best way to set up entities with relational connections using the "KinveyRef" model. It doesn't seem like this is easily done as of yet. I just read this:
"In the future we plan to provide helper methods, or to make the same syntax as JS library available in BL."
In my custom BL, when I manually nest objects with
_type: "KinveyRef"
_collection: "collectionName"
And insert them into my entity, it doesn't seem to resolve the same way versus doing it on the client side with:
$kinvey.DataStore.save('topics', angular.copy($scope.topic), {
relations : { files: 'dropbox-uploads' }
We need to do a relatively heavy amount of processing to create our entity, so it doesn't make sense for it to be done client side. Any ideas on when a BL API will be available to make this process a bit easier? Or maybe I'm missing something. :)