Hi there,
I attempted to follow the guide this giude, And for the most part, it all works out. The order object is created. However the realtion table or even the orderItem class are not created not created and the.
Am I missing something?
Cheers
Hello,
Do you run the code identical to the one in the example?
Is it in Java/Obj-C/Swift or JS?
Regards,
Mark
hi there. Yes. identical In Javascript. Just to test and make sure it worked first. I assumed maybe I needed to create the classes and make the relations manually first with back end UI. but that didn’t work either.
Cheers
Try adding the following properties:
In the Order function:
___class = “Order”;
In the OrderItem function:
___class = “OrderItem”;
Please let me know if it helps.
Regards,
Mark
Hi there,
Thx for the fast response. unfortunately, I’m still having the same results. Order class is created. But orderItems is not created and no reference to that class within the order class
Cheers
Hi Phrost,
sorry for inconvenience. We have updated this guide and it should work fine now.
Please, try again and let us know if everything ok!
Regards,
Stanislav
Amazing, works great now. thx guys!
Cheers