Hi guys,

I have just realized that after creating a new entry in a datatable, the id
of the new record is not returned. Returning the new entity's id is a
common practice after any creation action.

For example, for a new item created on a client datatable the response is
this json:

   1. clientId:852
   2. officeId:1
   3. resourceId:852

 As you can see, both clientId and resourceId are the same and represent
the id of the client for which I added the datatable record.
You can try it on demo, by going to
https://demo.openmf.org/#/viewclient/852?fromEntity=client and adding an
entry to the FAMILY DETAILS data table

Is this the expected behavior? Or the new entity id should be returned in
"resourceId"?


Regards

Lionel

Reply via email to