Backendless Support
 
Solved

Saving related data

I have a master object (FDWeek) which has 5 related objects (FDDay).

In v3 I could save the week and the days were automatically saved. This doesn't seem to happen in v4.

What way should this be done now?

Save the days to get their objectIDs and them save the week to get its objectID and then setRelation?

Leave a Comment

Comments (2)

photo
1

Hi Jorgen,

  1. Save the days to get their objectIDs and them save the week to get its objectID and then setRelation?

Yes, that's exactly what you need to do.

photo
1

Thanks,

What pity that you changed that API. It was so nice before.