Returning record data
When data is imported, it is sometimes desirable not to return the status (insert,
update, match) but the record itself. This can be done manually with a
<query>
following the <import>
or using the
"readback" feature.
The "readback" attribute on the <import>
element specifies a
reference to the fields.xml in the xml/ folder. This file is not
present by default. The syntax is the same as the <form> elements in the
forms.xml used by the groupware Server part. The value of the
"readback" attribute of an <import>
element corresponds to the
"type" attribute of the <form>
element in the
fields.xml file. The record is then returned with the fields
specified under the respective <table>
element, just like a normal
<query>
.