Hi Uncle Cheese!
Today I ended up in the situation where I would like to provide the relevant data objects to the DOM myself instead of letting DOM handle the get itself through the relationship. Normally I'd do the filtering in the where clause but in this case I have to do several queries to figure out which data objects to use.
I went digging in the classes and found setCustomSourceItems() in TableListField and it seemed to be exactly what I needed. However using this function had no effect whatsoever on the data objects that showed up in the DOM list.
My question is if there's any way to handle this kind of scenario in the DOM?
Is there some other method I've missed or something perhaps?