Aurelius Entity Memo Field and XData-Server as REST Server / expanded

i have additiona questions according to the closed topic:

a) how can i enable the expand function on the server side (without $expand-Parameter from Client) ?
My test with
Module := TXDataServerModule.Create(

Module.ProxyLoadDepth := 3;
Module.DefaultExpandLevel := 3;
Module.ProxyListLoadDepth := 3;
does not work.

B) The expanded Field ist Base64 coded



How i can get the plain string ?

Thank you for your support!
Greetings Andy

In this case I recommend you simply change your mapping from TBlob to string and set the size to 65536:

      FAnschrift: string;

This way, lazy-loading will not apply and the string in JSON will come as pure string.