I have been working satisfactorily with collections linked by reference fields for some time but have now hit a problem.
I have a dataset with reference fields on a page. Using code I wait until the dataset is ready then get the items and send them to the console. Previously this has shown the collection items AND all of the referenced items as objects. I believe this is correct behaviour. Now the same code on a similar collection shows the primary item objects but the reference fields only hold an id rather than the referenced objects. On another occasion it has shown the objects for one of the referenced collections but not another two.
I feel that I am missing something somewhere and would appreciate some guidance to get this working correctly.
TIA Ian Rushin