I use TxDataWebdataset to Post new record to a XData WebServer.
I post the new records with ID -1 and the DB-trigger creates the "real" ID then.
That works fine and is clear to me.
For the same ID I need to send BLOB content like RTF or other Blob Data.
So currently I reload the list of records and another form must be opened to upload the BLOB-content.
So I have the ID and the Blob-content and can upload that to the xData-Server.
While this works in general - it does not seem very clever and smart to me.
Is there a way I can get this last inserted "real" ID of the database when ApplyUpdates is called without reloading data? I need this ID to upload the blob-data to the server ?
Or is there a way to post the Blob-data "together" with the xDataWebDataset ?
Or do I need to create a Service on the Server to achieve this ?
I guess this is a common scenario that the server sets the real ID - and since everything is stateless one does not know this new ID.
How do you deal with that or do you use a complete different approach ?