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?

Screen Shot 2018-01-28 at 13.37.05.png

Hi Jorgen,

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.

Thanks,

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