I have a field that is a list of foreign keys and is defined in my ds.xml as:
I am not sure if I have the includeFrom defined properly since the fk field is a multiple (list of ids).
Any tips or advice on the correct way to achieve this?
I do see my fetch to get the displayField(s) being called for the DSRequest via the method "applyRelatedDSRequest(String, List, List, Relation, DSResponse)" but I think i have something not quite right since I don't see the display fields even though I return them. Should I see them going back in the response somewhere?
Thanks.
Code:
<field name="groupName" includeFrom="genericGroup.name" hidden="true"/> <field name="genericGroups" foreignKey="genericGroup.id" displayField="groupName" type="text" multiple="true">
Any tips or advice on the correct way to achieve this?
I do see my fetch to get the displayField(s) being called for the DSRequest via the method "applyRelatedDSRequest(String, List, List, Relation, DSResponse)" but I think i have something not quite right since I don't see the display fields even though I return them. Should I see them going back in the response somewhere?
Thanks.
Comment