I have a datasource with a foreign key. I set the value and display value properties on a DatasourceTextItem to display a column value (this works as expected).
The issue arises when I attempt to update any changes (even if I do not modify the foreign key value as I don't want this anyway). An error comes up :
Criteria received from the client for update operation is missing the following required unique and/or primary fields [id]: Either provide all primary key fields or set allowMultiUpdate on the OperationBinding
I have the id field for the parent table so I am unsure what is happening.
Perhaps if someone could explain how to go about this the correct way if I am currently in the wrong direction?
Thanks.
The issue arises when I attempt to update any changes (even if I do not modify the foreign key value as I don't want this anyway). An error comes up :
Criteria received from the client for update operation is missing the following required unique and/or primary fields [id]: Either provide all primary key fields or set allowMultiUpdate on the OperationBinding
I have the id field for the parent table so I am unsure what is happening.
Perhaps if someone could explain how to go about this the correct way if I am currently in the wrong direction?
Thanks.