What is the easy way to create a UI-User interface to edit one record with @xdata.proxy field?
1. Project API Database
a. We have XData server publishing a table data with LAZY association to other table and @xdata.proxy in service published
sample of service published:
{ "value": [ {
"$id": 1,
"LUID": "59bv2vz3pden",
"IdSeguridadGrupos@xdata.proxy": "Seguridad_Grupos_Usuarios('59bv2vz3pden')/IdSeguridadGrupos",
"IdUsuarios@xdata.proxy": "Seguridad_Grupos_Usuarios('59bv2vz3pden')/IdUsuarios"
} \]}
2. Client interface
a. We are developing a UI-Userinterface FORM with Web Core components using:
i. TXDataWebConnection
ii. TXDataWebDataSet
iii. TWebDataSource
3. Problematic situation:
If we add all fields in fields editor of TXDataWebDataSet a proxy fields are included as TXDataWebEntityField
a.1 Record is not editable if fields TXDataWebEntityField exists, because data is not displayed in TWebDBEdit for all fields,
a.2 If we replace TXDataWebEntityField for TStringField on @xdata.proxy fields, other fields are displayed but @xdata.proxy field is not displayed to edit
-–- This situation is not fine for rapid development ----
4. Questions about solution for rapid development
a. How can easily add all field and work with dataset to edit a record?
b. How can easy edit a @xdata.proxy with dataset and without extra code for edit with TWebDBEdit and TWebDBLookupComboBox?