As an example to connect a webcore application with a database, i have create a table in an MySQL database with only three fields per record. The first and second file are from the string type, end the third field is an text field. When i connect the browser with my server i recieve and can view the data in JSON format. In my client app i use WebDBEdits for the first two fields, and a WebDBMemo for the third field. The WebDBEdits are showing the data correctly, but i seen no data in the WebDBMemo. Below you see an example of an record as show in the browser.
I connect with the server by using the XDataWebDataSet1, XDataWebConnection1 and WebDataSource components. For the WebDBMemo i set the following properties:
DataSource := DataModule1.WebDataSource1;
DataField := bijzonderheden
How do have to configure my application so i can see the dat in the WebDBMemo?
The memo (blob) comes as a proxy. You should download the proxy in a subsequent request.
You should open the unit that has your entity classes declared, and find the declaration of bizonderheden field. There should be an attribute there with the lazy flag, like this:
[Column('bizonderheden', [TColumnProp.Lazy])] Fbizonderheden : TBlob;
[Column('bizonderheden', )] Fbizonderheden : TBlob;