Download file using service xdata and webcore save how binary file

I'm sure there are other examples, but you can check this one out: https://support.tmssoftware.com/t/web-core-xdata-service-query-example-v3/15107. You'll have to wade through some unrelated stuff but there is a PDF that is generated in XData that is then transferred to the client and handled as a regular file. So you can see how the Base64 conversions worked on both ends. Lots of benefits to Base64 encoding, particularly when trying to debug things.

1 Like